blib/lib/HiveJSO/Error.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 4 | 4 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | n/a | ||
total | 6 | 6 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package HiveJSO::Error; | ||||||
2 | BEGIN { | ||||||
3 | 6 | 6 | 391 | $HiveJSO::Error::AUTHORITY = 'cpan:GETTY'; | |||
4 | } | ||||||
5 | # ABSTRACT: HiveJSO Error for malformed objects | ||||||
6 | $HiveJSO::Error::VERSION = '0.010'; | ||||||
7 | 6 | 6 | 43 | use Moo; | |||
6 | 21 | ||||||
6 | 58 | ||||||
8 | |||||||
9 | has garbage => ( | ||||||
10 | is => 'ro', | ||||||
11 | required => 1, | ||||||
12 | ); | ||||||
13 | |||||||
14 | has error => ( | ||||||
15 | is => 'ro', | ||||||
16 | required => 1, | ||||||
17 | ); | ||||||
18 | |||||||
19 | 1; | ||||||
20 | |||||||
21 | __END__ |