Method: AWS::S3::Base::Response#error?

Defined in:
lib/aws/s3/response.rb

#error?Boolean

Returns:

  • (Boolean)

44
45
46
# File 'lib/aws/s3/response.rb', line 44

def error?
  !success? && response['content-type'] == 'application/xml' && parsed.root == 'error'
end