class AWS::S3::Errors::NoSuchKey

This error is special, because S3 does not return a body with the HTTP response. The interface is the same as for any other client error.

Public Class Methods

new(req, resp) click to toggle source
# File lib/aws/s3/errors.rb, line 72
def initialize(req, resp)
  super(req, resp, "No Such Key")
end

Public Instance Methods

code() click to toggle source
# File lib/aws/s3/errors.rb, line 70
def code; "NoSuchKey"; end