Class: Aws::CloudFront::Errors::CachePolicyAlreadyExists
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::CachePolicyAlreadyExists
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ CachePolicyAlreadyExists
constructor
A new instance of CachePolicyAlreadyExists.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ CachePolicyAlreadyExists
Returns a new instance of CachePolicyAlreadyExists.
208 209 210 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 208 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
213 214 215 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 213 def @message || @data[:message] end |