You are viewing documentation for version 1 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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