Exception: AWS::S3::CurrentBucketNotSpecified

Inherits:
S3Exception show all
Defined in:
lib/aws/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

Constructor Details

#initialize(address) ⇒ CurrentBucketNotSpecified

Returns a new instance of CurrentBucketNotSpecified.



97
98
99
100
# File 'lib/aws/s3/exceptions.rb', line 97

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