Class: Aws::SWF::Errors::DomainDeprecatedFault

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-swf/lib/aws-sdk-swf/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ DomainDeprecatedFault

Returns a new instance of DomainDeprecatedFault.

Parameters:



83
84
85
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/errors.rb', line 83

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#messageString

Returns:

  • (String)


88
89
90
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/errors.rb', line 88

def message
  @message || @data[:message]
end