Class: Aws::Chime::Errors::ServiceUnavailableException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ServiceUnavailableException.

Parameters:



193
194
195
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/errors.rb', line 193

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

Instance Method Details

#codeString

Returns:

  • (String)


198
199
200
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/errors.rb', line 198

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

#messageString

Returns:

  • (String)


203
204
205
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/errors.rb', line 203

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