line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTML::FormFu::Exception::Constraint; |
2
|
|
|
|
|
|
|
|
3
|
401
|
|
|
401
|
|
1457
|
use strict; |
|
401
|
|
|
|
|
475
|
|
|
401
|
|
|
|
|
15050
|
|
4
|
|
|
|
|
|
|
our $VERSION = '2.05'; # VERSION |
5
|
|
|
|
|
|
|
|
6
|
401
|
|
|
401
|
|
1313
|
use Moose; |
|
401
|
|
|
|
|
449
|
|
|
401
|
|
|
|
|
1659
|
|
7
|
|
|
|
|
|
|
extends 'HTML::FormFu::Exception::Input'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub stage { |
10
|
81
|
|
|
81
|
0
|
308
|
return 'constraint'; |
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub constraint { |
14
|
436
|
|
|
436
|
0
|
11452
|
return shift->processor(@_); |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
around render_data_non_recursive => sub { |
18
|
|
|
|
|
|
|
my ( $orig, $self, $args ) = @_; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
my $render = $self->$orig( { |
21
|
|
|
|
|
|
|
stage => $self->stage, |
22
|
|
|
|
|
|
|
constraint => $self->constraint, |
23
|
|
|
|
|
|
|
$args ? %$args : (), |
24
|
|
|
|
|
|
|
}); |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
return $render; |
27
|
|
|
|
|
|
|
}; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1; |