Directory/Exception/MethodArguments.pm

filter: Statementstmt 100% 25 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 31 / 31 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Directory/Entry.pm ↑ Summary Directory/Exception/TooManyResults.pm »
1 package WWW::USF::Directory::Exception::MethodArguments;
2  
3 1 ▶use 5.008001;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use warnings 'all';
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 ###########################################################################
8 # METADATA
9 1 our $AUTHORITY = 'cpan:DOUGDUDE';
10 1 our $VERSION = '0.003001';
11  
12 ###########################################################################
13 # MOOSE
14 1 ▶use Moose 0.89;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 1 ▶use MooseX::StrictConstructor 0.08;
Subroutine BEGIN: called CC=1 SCAR=0.0
16  
17 ###########################################################################
18 # BASE CLASS
19 1 extends q{WWW::USF::Directory::Exception};
20  
21 ###########################################################################
22 # ALL IMPORTS BEFORE THIS WILL BE ERASED
23 1 ▶use namespace::clean 0.04 -except => [qw(meta)];
Subroutine BEGIN: called CC=1 SCAR=0.0
24  
25 ###########################################################################
26 # ATTRIBUTES
27 1 has argument => (
28 is => 'ro',
29 isa => 'Str',
30  
31 documentation => q{The argument that was invalid},
32 required => 1,
33 );
34 1 has argument_value => (
35 is => 'ro',
36  
37 clearer => '_clear_argument_value',
38 documentation => q{The invalid value of the argument},
39 predicate => 'has_argument_value',
40 );
41 1 has method => (
42 is => 'ro',
43 isa => 'Str',
44  
45 documentation => q{The method in which the error occurred},
46 required => 1,
47 );
48  
49 ###########################################################################
50 # MAKE MOOSE OBJECT IMMUTABLE
51 1 __PACKAGE__->meta->make_immutable;
52  
53 1 1;
54  
55 __END__
« Directory/Entry.pm ↑ Summary Directory/Exception/TooManyResults.pm »