Exception: Aliyun::OSS::NoKeySpecified

Inherits:
OSSException show all
Defined in:
lib/aliyun/oss/exceptions.rb

Overview

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

Instance Method Summary collapse

Constructor Details

#initializeNoKeySpecified

Returns a new instance of NoKeySpecified.



113
114
115
# File 'lib/aliyun/oss/exceptions.rb', line 113

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