Class: Aws::IoT1ClickDevicesService::Errors::InternalFailureException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::IoT1ClickDevicesService::Errors::InternalFailureException
- Defined in:
- lib/aws-sdk-iot1clickdevicesservice/errors.rb
Instance Method Summary collapse
- #code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InternalFailureException
constructor
A new instance of InternalFailureException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InternalFailureException
Returns a new instance of InternalFailureException.
69 70 71 |
# File 'lib/aws-sdk-iot1clickdevicesservice/errors.rb', line 69 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
74 75 76 |
# File 'lib/aws-sdk-iot1clickdevicesservice/errors.rb', line 74 def code @code || @data[:code] end |
#message ⇒ String
79 80 81 |
# File 'lib/aws-sdk-iot1clickdevicesservice/errors.rb', line 79 def @message || @data[:message] end |