Exception: Aliyun::OSS::CurrentBucketNotSpecified
- Inherits:
-
OSSException
- Object
- StandardError
- OSSException
- Aliyun::OSS::CurrentBucketNotSpecified
- 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
-
#initialize(address) ⇒ CurrentBucketNotSpecified
constructor
A new instance of CurrentBucketNotSpecified.
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) = "No bucket name can be inferred from your current connection's address (`#{address}')" super() end |