line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
3
|
|
|
3
|
|
23
|
use strict; |
|
3
|
|
|
|
|
8
|
|
|
3
|
|
|
|
|
224
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package HTML::FormFu::Exception::Transformer; |
4
|
|
|
|
|
|
|
# ABSTRACT: Transformer exception |
5
|
|
|
|
|
|
|
$HTML::FormFu::Exception::Transformer::VERSION = '2.07'; |
6
|
3
|
|
|
3
|
|
20
|
use Moose; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
20
|
|
7
|
|
|
|
|
|
|
extends 'HTML::FormFu::Exception::Input'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub stage { |
10
|
0
|
|
|
0
|
0
|
|
return 'transformer'; |
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub transformer { |
14
|
0
|
|
|
0
|
0
|
|
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
|
|
|
|
|
|
|
transformer => $self->transformer, |
23
|
|
|
|
|
|
|
$args ? %$args : (), |
24
|
|
|
|
|
|
|
} ); |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
return $render; |
27
|
|
|
|
|
|
|
}; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1; |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
__END__ |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=pod |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=encoding UTF-8 |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 NAME |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
HTML::FormFu::Exception::Transformer - Transformer exception |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 VERSION |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
version 2.07 |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 AUTHOR |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Carl Franks <cpan@fireartist.com> |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
This software is copyright (c) 2018 by Carl Franks. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
56
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=cut |