Net::Amazon::S3::Error::Handler::X(3pm)

Net::Amazon::S3::Error::Handler::X3pm

Throw error specific exception

Version

version 0.991

Overview

Raise error specific exception.

S3 error

For S3 errors exception it raises is instance of "Net::Amazon::S3::X::error-code". AWS error code list can be found at <https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList>

        my $s3 = Net::Amazon::S3->new (
                error_handler_class => 'Net::Amazon::S3::Error::Handler::X',
                ...
        );
        eval { do s3 operation; 1 } or do {
                say 'access denied'
                        if $@->$Safe::Isa::_isa ('Net::Amazon::S3::X::AccessDenied');
                ...
        };

Releases

3 releases since Debian 11 (Bullseye); the text changed 1 time.

  1. 11
  2. 12–13

Author

Branislav Zahradník <[email protected]>

From libnet-amazon-s3-perl 0.991-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.