Exception: AWS::S3::InvalidMetadataValue
- Inherits:
-
S3Exception
- Object
- StandardError
- S3Exception
- AWS::S3::InvalidMetadataValue
- Defined in:
- lib/aws-matt/s3/exceptions.rb
Overview
Raised if an invalid value is assigned to an S3Object’s specific metadata name.
Instance Method Summary collapse
-
#initialize(invalid_names) ⇒ InvalidMetadataValue
constructor
A new instance of InvalidMetadataValue.
Constructor Details
#initialize(invalid_names) ⇒ InvalidMetadataValue
Returns a new instance of InvalidMetadataValue.
87 88 89 90 91 |
# File 'lib/aws-matt/s3/exceptions.rb', line 87 def initialize(invalid_names) = "The following metadata names have invalid values: #{invalid_names.join(', ')}. " + "Metadata can not be larger than 2kilobytes." super() end |