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 | 7 | 7 | 224 | $HiveJSO::Error::AUTHORITY = 'cpan:GETTY'; | |||
4 | } | ||||||
5 | # ABSTRACT: HiveJSO Error for malformed objects | ||||||
6 | $HiveJSO::Error::VERSION = '0.013'; | ||||||
7 | 7 | 7 | 46 | use Moo; | |||
7 | 15 | ||||||
7 | 57 | ||||||
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__ |