File Coverage

blib/lib/Catalyst/Exception/InvalidArrayPointer.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Catalyst::Exception::InvalidArrayPointer;
2              
3 2     2   16 use Moose;
  2         7  
  2         17  
4 2     2   14355 use namespace::clean -except => 'meta';
  2         6  
  2         20  
5              
6             extends 'Catalyst::Exception::StrongParameter';
7              
8             has 'pointer' => (is=>'ro', required=>1);
9             has '+message' => (is=>'ro', lazy=>1, default=>sub { "Pointer '@{[ $_[0]->pointer ]}' is not an array." });
10            
11             __PACKAGE__->meta->make_immutable;