Class: Aws::CloudFront::Errors::TooManyOriginCustomHeaders

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-cloudfront/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyOriginCustomHeaders

Returns a new instance of TooManyOriginCustomHeaders.

Parameters:



2076
2077
2078
# File 'lib/aws-sdk-cloudfront/errors.rb', line 2076

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#messageString

Returns:

  • (String)


2081
2082
2083
# File 'lib/aws-sdk-cloudfront/errors.rb', line 2081

def message
  @message || @data[:message]
end