blib/lib/PawsX/Waiter/Exception.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 | package PawsX::Waiter::Exception; | ||||||
2 | |||||||
3 | 2 | 2 | 12 | use Moose; | |||
2 | 3 | ||||||
2 | 11 | ||||||
4 | extends 'Throwable::Error'; | ||||||
5 | |||||||
6 | has name => ( | ||||||
7 | isa => 'Str', | ||||||
8 | is => 'ro', | ||||||
9 | required => 1 | ||||||
10 | ); | ||||||
11 | |||||||
12 | has reason => ( | ||||||
13 | isa => 'Str', | ||||||
14 | is => 'ro', | ||||||
15 | required => 1 | ||||||
16 | ); | ||||||
17 | |||||||
18 | has last_response => ( | ||||||
19 | is => 'ro', | ||||||
20 | required => 1 | ||||||
21 | ); | ||||||
22 | |||||||
23 | package PawsX::Exception::TimeOut; | ||||||
24 | 2 | 2 | 11034 | use Moose; | |||
2 | 4 | ||||||
2 | 6 | ||||||
25 | extends 'PawsX::Waiter::Exception'; | ||||||
26 | |||||||
27 | 1; |