blib/lib/NewsExtractor/Error.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 | use Moo; | ||||||
2 | 1 | 1 | 6 | use NewsExtractor::Types qw<Bool Text HashRef>; | |||
1 | 2 | ||||||
1 | 7 | ||||||
3 | 1 | 1 | 597 | ||||
1 | 2 | ||||||
1 | 9 | ||||||
4 | has is_exception => ( required => 1, is => 'ro', isa => Bool, default => 0 ); | ||||||
5 | has message => ( required => 1, is => 'ro', isa => Text ); | ||||||
6 | has debug => ( required => 0, is => 'ro', isa => HashRef ); | ||||||
7 | |||||||
8 | 1; |