File Coverage

blib/lib/Catalyst/Exception/StructuredParameter.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::StructuredParameter;
2              
3 2     2   1187 use Moose;
  2         4  
  2         15  
4 2     2   11706 use namespace::clean -except => 'meta';
  2         14  
  2         19  
5            
6             extends 'CatalystX::Utils::HttpException';
7              
8             has '+status' => (is=>'ro', init_arg=>undef, default=>sub {400});
9             has '+errors' => (is=>'ro', init_arg=>undef, default=>sub { ["General error with structured parameters."] });
10              
11             __PACKAGE__->meta->make_immutable;