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:



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

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

Instance Method Details

#messageString

Returns:

  • (String)


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

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