Class: Aws::WorkLink::Errors::ResourceAlreadyExistsException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::WorkLink::Errors::ResourceAlreadyExistsException
- Defined in:
- lib/aws-sdk-worklink/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceAlreadyExistsException
constructor
A new instance of ResourceAlreadyExistsException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceAlreadyExistsException
Returns a new instance of ResourceAlreadyExistsException.
78 79 80 |
# File 'lib/aws-sdk-worklink/errors.rb', line 78 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
83 84 85 |
# File 'lib/aws-sdk-worklink/errors.rb', line 83 def @message || @data[:message] end |