| 1 | package Net::ACME::X::Protocol; | ||
| 2 | |||
| 3 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 2 | ▶ | use parent qw( Net::ACME::X::HashBase ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | #named args required: | ||
| 9 | # | ||
| 10 | # url | ||
| 11 | # status | ||
| 12 | # reason | ||
| 13 | # type | ||
| 14 | # detail | ||
| 15 | # | ||
| 16 | #optional: | ||
| 17 | # headers | ||
| 18 | # | ||
| 19 | 3 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 20 | 3 | my ( $self, $args_hr ) = @_; | |
| 21 | |||
| 22 | 3 | 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 | 2 | 1; | |