Class AWS::S3::ResponseError
In: lib/aws/s3/exceptions.rb
Parent: S3Exception

All responses with a code between 300 and 599 that contain an <Error></Error> body are wrapped in an ErrorResponse which contains an Error object. This Error class generates a custom exception with the name of the xml Error and its message. All such runtime generated exception classes descend from ResponseError and contain the ErrorResponse object so that all code that makes a request can rescue ResponseError and get access to the ErrorResponse.

Methods

new  

Attributes

response  [R] 

Public Class methods

[Source]

    # File lib/aws/s3/exceptions.rb, line 15
15:       def initialize(message, response)
16:         @response = response
17:         super(message)
18:       end

[Validate]