line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package App::Docker::Client::Exception; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
833
|
use 5.16.0; |
|
1
|
|
|
|
|
2
|
|
4
|
1
|
|
|
1
|
|
3
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
22
|
|
5
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
190
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 NAME |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
App::Docker::Client::Exception - Exception class for App::Docker::Client. |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 VERSION |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
Version 0.010200 |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=cut |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
our $VERSION = '0.010200'; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head2 new |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
Constructor |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=cut |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
sub new { |
26
|
0
|
|
|
0
|
1
|
|
my $class = shift; |
27
|
0
|
|
|
|
|
|
my $self = {@_}; |
28
|
0
|
|
|
|
|
|
bless $self, $class; |
29
|
0
|
|
|
|
|
|
return $self; |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head2 is_not_fround |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=cut |
35
|
|
|
|
|
|
|
|
36
|
0
|
0
|
|
0
|
1
|
|
sub is_not_fround { $_[0]->{code} == 404 ? 1 : 0 } |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head2 is_confict |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=cut |
41
|
|
|
|
|
|
|
|
42
|
0
|
0
|
|
0
|
1
|
|
sub is_confict { $_[0]->{code} == 409 ? 1 : 0 } |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head2 code |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=cut |
47
|
|
|
|
|
|
|
|
48
|
0
|
|
|
0
|
1
|
|
sub code { $_[0]->{code} } |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head2 content |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=cut |
53
|
|
|
|
|
|
|
|
54
|
0
|
|
|
0
|
1
|
|
sub content { $_[0]->{content} } |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head2 content_message |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=cut |
59
|
|
|
|
|
|
|
|
60
|
0
|
0
|
|
0
|
1
|
|
sub content_message { $_[0]->{content} ? $_[0]->{content}->{message} : undef } |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head2 message |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=cut |
65
|
|
|
|
|
|
|
|
66
|
0
|
|
|
0
|
1
|
|
sub message { $_[0]->{message} } |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
1; # End of App::Docker::Client::Exception |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
__END__ |