Exception: AWS::S3::Errors::NotModified
- Inherits:
-
Errors::Base
- Object
- StandardError
- Errors::Base
- AWS::S3::Errors::NotModified
- Includes:
- Errors::ClientError
- Defined in:
- lib/aws/s3/errors.rb
Overview
This error is special, because S3 does not (and must not according to RFC 2616) return a body with the HTTP response. The interface is the same as for any other client error.
Instance Attribute Summary
Attributes inherited from Errors::Base
#code, #http_request, #http_response
Instance Method Summary collapse
-
#initialize(req, resp) ⇒ NotModified
constructor
A new instance of NotModified.
Constructor Details
#initialize(req, resp) ⇒ NotModified
Returns a new instance of NotModified.
59 60 61 |
# File 'lib/aws/s3/errors.rb', line 59 def initialize(req, resp) super(req, resp, "NotModified", "Not Modified") end |