Method: Aliyun::OSS::InvalidBucketName#initialize
- Defined in:
- lib/aliyun/oss/exceptions.rb
#initialize(invalid_name) ⇒ InvalidBucketName
Returns a new instance of InvalidBucketName.
69 70 71 72 73 74 |
# File 'lib/aliyun/oss/exceptions.rb', line 69 def initialize(invalid_name) = "`#{invalid_name}' is not a valid bucket name. " + "Bucket names must be between 3 and 255 bytes and " + "can contain letters, numbers, dashes and underscores." super() end |