Method: AWS::S3::InvalidMetadataValue#initialize

Defined in:
lib/aws/s3/exceptions.rb

#initialize(invalid_names) ⇒ InvalidMetadataValue

Returns a new instance of InvalidMetadataValue.

[View source]

87
88
89
90
91
# File 'lib/aws/s3/exceptions.rb', line 87

def initialize(invalid_names)
  message = "The following metadata names have invalid values: #{invalid_names.join(', ')}. " +
            "Metadata can not be larger than 2kilobytes."
  super(message)
end