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   13 use Moose;
  2         5  
  2         15  
4 2     2   12052 use namespace::clean -except => 'meta';
  2         5  
  2         21  
5              
6             extends 'Catalyst::Exception::StructuredParameter';
7              
8             has 'pointer' => (is=>'ro', required=>1);
9             has '+errors' => (init_arg=>undef, default=>sub { ["Pointer '@{[ $_[0]->pointer ]}' is not an array."] });
10              
11             __PACKAGE__->meta->make_immutable;