Exception: AWS::S3::NoKeySpecified

Inherits:
S3Exception
  • Object
show all
Defined in:
lib/aws/s3/exceptions.rb

Overview

Raised if an attempt is made to save an S3Object that does not have a key set.

Instance Method Summary collapse

Constructor Details

#initializeNoKeySpecified

Returns a new instance of NoKeySpecified.



112
113
114
# File 'lib/aws/s3/exceptions.rb', line 112

def initialize
  super('The current object must have its key set')
end