1Net::Amazon::S3::Error:U:sHearndCloenrt:r:iXb(u3t)ed PerNletD:o:cAummaeznotna:t:iSo3n::Error::Handler::X(3)
2
3
4

NAME

6       Net::Amazon::S3::Error::Handler::X - Throw error specific exception
7

VERSION

9       version 0.99
10

DESCRIPTION

12       Raise error specific exception.
13
14   S3 error
15       For S3 errors exception it raises is instance of
16       "Net::Amazon::S3::X::error-code".  AWS error code list can be found at
17       <https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList>
18
19               my $s3 = Net::Amazon::S3->new (
20                       error_handler_class => 'Net::Amazon::S3::Error::Handler::X',
21                       ...
22               );
23
24               eval { do s3 operation; 1 } or do {
25                       say 'access denied'
26                               if $@->$Safe::Isa::_isa ('Net::Amazon::S3::X::AccessDenied');
27                       ...
28               };
29

AUTHOR

31       Branislav ZahradnĂ­k <barney@cpan.org>
32
34       This software is copyright (c) 2021 by Amazon Digital Services, Leon
35       Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav
36       ZahradnĂ­k.
37
38       This is free software; you can redistribute it and/or modify it under
39       the same terms as the Perl 5 programming language system itself.
40
41
42
43perl v5.34.0                      2022-01-N2e1t::Amazon::S3::Error::Handler::X(3)
Impressum