File Coverage

blib/lib/Catalyst/Exception/InvalidArrayPointer.pm
Criterion Covered Total %
statement 6 8 75.0
branch n/a
condition n/a
subroutine 2 3 66.6
pod 0 1 0.0
total 8 12 66.6


line stmt bran cond sub pod time code
1              
2             use Moose;
3 2     2   13 use namespace::clean -except => 'meta';
  2         4  
  2         15  
4 2     2   11608  
  2         4  
  2         34  
5             extends 'Catalyst::Exception::StructuredParameter';
6              
7             has 'pointer' => (is=>'ro', required=>1);
8              
9             return "Pointer '@{[ $_[0]->pointer ]}' is not an array.";
10             }
11 0     0 0    
  0            
12             __PACKAGE__->meta->make_immutable;