blib/lib/LINE/Bot/API/Response/Error.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 13 | 13 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 7 | 7 | 100.0 |
pod | 0 | 4 | 0.0 |
total | 20 | 24 | 83.3 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package LINE::Bot::API::Response::Error; | ||||||
2 | 47 | 47 | 311 | use strict; | |||
47 | 132 | ||||||
47 | 1378 | ||||||
3 | 47 | 47 | 238 | use warnings; | |||
47 | 121 | ||||||
47 | 1146 | ||||||
4 | 47 | 47 | 238 | use parent 'LINE::Bot::API::Response::Common'; | |||
47 | 92 | ||||||
47 | 286 | ||||||
5 | |||||||
6 | 1 | 1 | 0 | 6 | sub message { $_[0]->{message} } | ||
7 | 1 | 1 | 0 | 9 | sub details { $_[0]->{details} } | ||
8 | |||||||
9 | 1 | 1 | 0 | 6 | sub error { $_[0]->{error} } | ||
10 | 1 | 1 | 0 | 6 | sub error_description { $_[0]->{error_description} } | ||
11 | |||||||
12 | |||||||
13 | 1; |