Class: Aws::SWF::Errors::TypeAlreadyExistsFault
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::SWF::Errors::TypeAlreadyExistsFault
- Defined in:
- lib/aws-sdk-swf/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TypeAlreadyExistsFault
constructor
A new instance of TypeAlreadyExistsFault.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TypeAlreadyExistsFault
Returns a new instance of TypeAlreadyExistsFault.
143 144 145 |
# File 'lib/aws-sdk-swf/errors.rb', line 143 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
148 149 150 |
# File 'lib/aws-sdk-swf/errors.rb', line 148 def @message || @data[:message] end |