Exception: AWS::S3::CurrentBucketNotSpecified
- Inherits:
-
S3Exception
- Object
- StandardError
- S3Exception
- AWS::S3::CurrentBucketNotSpecified
- Defined in:
- lib/aws-matt/s3/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.
97 98 99 100 |
# File 'lib/aws-matt/s3/exceptions.rb', line 97 def initialize(address) = "No bucket name can be inferred from your current connection's address (`#{address}')" super() end |