Exception/MissingParameter.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
__ANON__
1.0
CRAP 1.0
« Exception/InvalidArrayPointer.pm ↑ Summary Exception/StrongParameter.pm »
1 package Catalyst::Exception::MissingParameter;
2  
3 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use namespace::clean -except => 'meta';
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 extends 'Catalyst::Exception::StrongParameter';
7  
8 2 has 'param' => (is=>'ro', required=>1);
9 2 ▶has '+message' => (is=>'ro', lazy=>1, default=>sub { "Required parameter '@{[ $_[0]->param ]}' is missing." });
Subroutine __ANON__: called CC=1 SCAR=0.0
10
11 2 __PACKAGE__->meta->make_immutable;
« Exception/InvalidArrayPointer.pm ↑ Summary Exception/StrongParameter.pm »