Class: Aws::CloudFront::Errors::KeyGroupAlreadyExists
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::KeyGroupAlreadyExists
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ KeyGroupAlreadyExists
constructor
A new instance of KeyGroupAlreadyExists.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ KeyGroupAlreadyExists
Returns a new instance of KeyGroupAlreadyExists.
1047 1048 1049 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1047 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
1052 1053 1054 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1052 def @message || @data[:message] end |