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:


1714
1715
1716
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1714

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

Instance Method Details

#messageString

Returns:

  • (String)

1719
1720
1721
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1719

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