Class: Aws::IoT1ClickDevicesService::Errors::ResourceNotFoundException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::IoT1ClickDevicesService::Errors::ResourceNotFoundException
- Defined in:
- lib/aws-sdk-iot1clickdevicesservice/errors.rb
Instance Method Summary collapse
- #code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceNotFoundException
constructor
A new instance of ResourceNotFoundException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceNotFoundException
Returns a new instance of ResourceNotFoundException.
169 170 171 |
# File 'lib/aws-sdk-iot1clickdevicesservice/errors.rb', line 169 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
174 175 176 |
# File 'lib/aws-sdk-iot1clickdevicesservice/errors.rb', line 174 def code @code || @data[:code] end |
#message ⇒ String
179 180 181 |
# File 'lib/aws-sdk-iot1clickdevicesservice/errors.rb', line 179 def @message || @data[:message] end |