NewsExtractor/Error.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 12 / 12 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« NewsExtractor/Constants.pm ↑ Summary NewsExtractor/SiteSpecificExtractor.pm »
1 package NewsExtractor::Error;
2 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use NewsExtractor::Types qw<Bool Text HashRef>;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 has is_exception => ( required => 1, is => 'ro', isa => Bool, default => 0 );
6 1 has message => ( required => 1, is => 'ro', isa => Text );
7 1 has debug => ( required => 0, is => 'ro', isa => HashRef );
8  
9 1 1;
« NewsExtractor/Constants.pm ↑ Summary NewsExtractor/SiteSpecificExtractor.pm »