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:



1956
1957
1958
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1956

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

Instance Method Details

#messageString

Returns:

  • (String)


1961
1962
1963
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1961

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