Class: Aws::SWF::Errors::TypeDeprecatedFault
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::SWF::Errors::TypeDeprecatedFault
- Defined in:
- lib/aws-sdk-swf/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TypeDeprecatedFault
constructor
A new instance of TypeDeprecatedFault.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TypeDeprecatedFault
Returns a new instance of TypeDeprecatedFault.
158 159 160 |
# File 'lib/aws-sdk-swf/errors.rb', line 158 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
163 164 165 |
# File 'lib/aws-sdk-swf/errors.rb', line 163 def @message || @data[:message] end |