Class: Aws::CloudFront::Errors::TooManyCookiesInCachePolicy

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

Returns a new instance of TooManyCookiesInCachePolicy.

Parameters:


1415
1416
1417
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1415

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

Instance Method Details

#messageString

Returns:

  • (String)

1420
1421
1422
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1420

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