Class | RightAws::AwsError |
In: |
lib/awsbase/right_awsbase.rb
|
Parent: | RuntimeError |
Exception class to signal any Amazon errors. All errors occuring during calls to Amazon‘s web services raise this type of error. Attribute inherited by RuntimeError:
message - the text of the error, generally as returned by AWS in its XML response.
errors | [R] | either an array of errors where each item is itself an array of [code, message]), or an error string if the error was raised manually, as in AwsError.new(‘err_text’) |
http_code | [R] | Response HTTP error code |
request_id | [R] | Request id (if exists) |
Generic handler for AwsErrors. aws is the RightAws::S3, RightAws::EC2, or RightAws::SQS object that caused the exception (it must provide last_request and last_response). Supported boolean options are:
True if e is an AWS system error, i.e. something that is for sure not the caller‘s fault. Used to force logging.