Class: Aws::CloudFront::Errors::TooManyCachePolicies

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

Returns a new instance of TooManyCachePolicies.

Parameters:


1339
1340
1341
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1339

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

Instance Method Details

#messageString

Returns:

  • (String)

1344
1345
1346
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1344

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