| 1 | 444 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 2 | |||||||||||
| 3 | package HTML::FormFu::Exception::Constraint; | ||||||||||
| 4 | # ABSTRACT: Constraint exception | ||||||||||
| 5 | 444 | $HTML::FormFu::Exception::Constraint::VERSION = '2.09'; | |||||||||
| 6 | 444 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | 444 | extends 'HTML::FormFu::Exception::Input'; | |||||||||
| 8 | |||||||||||
| 9 | 90 | ▶ | sub stage { | ||||||||
|
Subroutine
stage: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 10 | 90 | return 'constraint'; | |||||||||
| 11 | } | ||||||||||
| 12 | |||||||||||
| 13 | 517 | ▶ | sub constraint { | ||||||||
|
Subroutine
constraint: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 14 | 517 | return shift->processor(@_); | |||||||||
| 15 | } | ||||||||||
| 16 | |||||||||||
| 17 | 51 | ▶ | around render_data_non_recursive => sub { | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=7.1
| |||||||||||
| 18 | 51 | my ( $orig, $self, $args ) = @_; | |||||||||
| 19 | |||||||||||
| 20 | 51 | ▶ | my $render = $self->$orig( | ||||||||
|
Branch: 1 branch
| |||||||||||
| 21 | { stage => $self->stage, | ||||||||||
| 22 | constraint => $self->constraint, | ||||||||||
| 23 | $args ? %$args : (), | ||||||||||
| 24 | } ); | ||||||||||
| 25 | |||||||||||
| 26 | 51 | return $render; | |||||||||
| 27 | 444 | }; | |||||||||
| 28 | |||||||||||
| 29 | 444 | __PACKAGE__->meta->make_immutable; | |||||||||
| 30 | |||||||||||
| 31 | 444 | 1; | |||||||||
| 32 | |||||||||||
| 33 | __END__ | ||||||||||