From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

Net::ACME2::X::ACME

SYNOPSIS

local $@;
eval { ...; 1 } or do {
if ( ref($@) && (ref $@)->isa('Net::ACME2::X::ACME') ) {
my $acme_err = $@->get('acme');
my $http_err = $@->get('http');
}
};

DESCRIPTION

This class represents an ACME protocol error.

PROPERTIES

  • http - An instance of Net::ACME2::X::HTTP::Protocol that represents the failure.

  • acme - An instance of Net::ACME2::Error that represents the error as the ACME server sent it in the HTTP payload. If there was no such error (e.g., if a network error occurred), this will be undef.