Class: Aws::AppMesh::Errors::ServiceUnavailableException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ServiceUnavailableException.

Parameters:



161
162
163
# File 'lib/aws-sdk-appmesh/errors.rb', line 161

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

Instance Method Details

#messageString

Returns:

  • (String)


166
167
168
# File 'lib/aws-sdk-appmesh/errors.rb', line 166

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

#retryable?Boolean

Returns:

  • (Boolean)


170
171
172
# File 'lib/aws-sdk-appmesh/errors.rb', line 170

def retryable?
  true
end