line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::ACME::X::Protocol; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
4
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
22
|
|
4
|
1
|
|
|
1
|
|
3
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
21
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
3
|
use parent qw( Net::ACME::X::HashBase ); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
4
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
#named args required: |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# url |
11
|
|
|
|
|
|
|
# status |
12
|
|
|
|
|
|
|
# reason |
13
|
|
|
|
|
|
|
# type |
14
|
|
|
|
|
|
|
# detail |
15
|
|
|
|
|
|
|
# |
16
|
|
|
|
|
|
|
#optional: |
17
|
|
|
|
|
|
|
# headers |
18
|
|
|
|
|
|
|
# |
19
|
|
|
|
|
|
|
sub new { |
20
|
1
|
|
|
1
|
0
|
2
|
my ( $self, $args_hr ) = @_; |
21
|
|
|
|
|
|
|
|
22
|
1
|
|
|
|
|
8
|
return $self->SUPER::new( |
23
|
|
|
|
|
|
|
"The ACME function “$args_hr->{'url'}” indicated an error: “$args_hr->{'detail'}” ($args_hr->{'status'}, “$args_hr->{'reason'}”, $args_hr->{'type'}).", |
24
|
|
|
|
|
|
|
$args_hr, |
25
|
|
|
|
|
|
|
); |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |