blib/lib/Paws/Exception.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 3 | 3 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 1 | 1 | 100.0 |
pod | n/a | ||
total | 4 | 4 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Paws::Exception; | ||||||
2 | 21 | 21 | 134 | use Moose; | |||
21 | 44 | ||||||
21 | 127 | ||||||
3 | extends 'Throwable::Error'; | ||||||
4 | |||||||
5 | has code => ( | ||||||
6 | is => 'ro', | ||||||
7 | isa => 'Str', | ||||||
8 | required => 1, | ||||||
9 | ); | ||||||
10 | |||||||
11 | has request_id => ( | ||||||
12 | is => 'ro', | ||||||
13 | isa => 'Str', | ||||||
14 | required => 1, | ||||||
15 | ); | ||||||
16 | |||||||
17 | has http_status => ( | ||||||
18 | is => 'ro', | ||||||
19 | isa => 'Int', | ||||||
20 | ); | ||||||
21 | 1; |