Exception: AWS::S3::Errors::NotModified

Inherits:
Errors::Base
  • Object
show all
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

Methods included from Errors::ExceptionMixinClassMethods

#new

Constructor Details

#initialize(req, resp) ⇒ NotModified

Returns a new instance of NotModified.


60
61
62
# File 'lib/aws/s3/errors.rb', line 60

def initialize(req, resp)
  super(req, resp, "NotModified", "Not Modified")
end