Class: Aws::IoT::Errors::InternalFailureException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InternalFailureException.

Parameters:



200
201
202
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/errors.rb', line 200

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

Instance Method Details

#messageString

Returns:

  • (String)


205
206
207
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/errors.rb', line 205

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