Class: Aws::CloudFront::Errors::EntityAlreadyExists
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::EntityAlreadyExists
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ EntityAlreadyExists
constructor
A new instance of EntityAlreadyExists.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ EntityAlreadyExists
Returns a new instance of EntityAlreadyExists.
386 387 388 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 386 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
391 392 393 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 391 def @message || @data[:message] end |