Class: Aws::CloudControlApi::Errors::AlreadyExistsException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudControlApi::Errors::AlreadyExistsException
- Defined in:
- lib/aws-sdk-cloudcontrolapi/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ AlreadyExistsException
constructor
A new instance of AlreadyExistsException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ AlreadyExistsException
Returns a new instance of AlreadyExistsException.
63 64 65 |
# File 'lib/aws-sdk-cloudcontrolapi/errors.rb', line 63 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
68 69 70 |
# File 'lib/aws-sdk-cloudcontrolapi/errors.rb', line 68 def @message || @data[:message] end |