class
Awscr::S3::Exception
- Awscr::S3::Exception
- Exception
- Reference
- Object
Overview
Exception raised when S3 gives us a non 200 http status code. The error will have a specific message from S3.
Defined in:
awscr-s3/exceptions.crConstructors
Class Method Summary
-
.from_response(response)
Creates a
S3::Exceptionfrom anHTTP::Client::Response
Instance Method Summary
-
#status : HTTP::Status | Nil
The HTTP status of the response that raised this, or
nilwhen it didn't come from a response (e.g.
Constructor Detail
Class Method Detail
Instance Method Detail
def status : HTTP::Status | Nil
#
The HTTP status of the response that raised this, or nil when it
didn't come from a response (e.g. an unknown signer version).