Exception: Aliyun::OSS::CurrentBucketNotSpecified

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

Overview

Raised if the current bucket can not be inferred when not explicitly specifying the target bucket in the calling method’s arguments.

Instance Method Summary collapse

Constructor Details

#initialize(address) ⇒ CurrentBucketNotSpecified

Returns a new instance of CurrentBucketNotSpecified.



98
99
100
101
# File 'lib/aliyun/oss/exceptions.rb', line 98

def initialize(address)
  message = "No bucket name can be inferred from your current connection's address (`#{address}')"
  super(message)
end