class AWS::Errors::Base


a 200 after 3 retries the error is raised.
an exponential backoff. If the service still fails to respond with
Requests that generate service errors are automatically retried with
A 500 level error typically indicates the service is having an issue.
== Server Errors
the nature of the problem.
http response (the error #message) should give more information about
A client error should not be resent without changes. The body of the
Errors in the three and four hundreds are client errors ({ClientError}).
== Client Errors
as errors.
receive a non-200 level response. These http responses are treated
When interacting with Amazon AWS services, you will sometimes
* {ServerError}
* {ClientError}
Base class for the two service error classes:

def initialize http_request = nil, http_response = nil, message = nil

def initialize http_request = nil, http_response = nil, message = nil
  message ||= http_response.body if http_response
  @http_request = http_request
  @http_response = http_response
  super(message)
end