Class: Aws::CloudFront::Errors::TooManyHeadersInCachePolicy

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

Returns a new instance of TooManyHeadersInCachePolicy.

Parameters:



2036
2037
2038
# File 'lib/aws-sdk-cloudfront/errors.rb', line 2036

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

Instance Method Details

#messageString

Returns:

  • (String)


2041
2042
2043
# File 'lib/aws-sdk-cloudfront/errors.rb', line 2041

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