Class: Aws::CloudFront::Errors::TooManyHeadersInForwardedValues

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) ⇒ TooManyHeadersInForwardedValues

Returns a new instance of TooManyHeadersInForwardedValues.

Parameters:



2051
2052
2053
# File 'lib/aws-sdk-cloudfront/errors.rb', line 2051

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

Instance Method Details

#messageString

Returns:

  • (String)


2056
2057
2058
# File 'lib/aws-sdk-cloudfront/errors.rb', line 2056

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