Class: Aws::IoT1ClickProjects::Errors::ResourceNotFoundException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::IoT1ClickProjects::Errors::ResourceNotFoundException
- Defined in:
- lib/aws-sdk-iot1clickprojects/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.
107 108 109 |
# File 'lib/aws-sdk-iot1clickprojects/errors.rb', line 107 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
112 113 114 |
# File 'lib/aws-sdk-iot1clickprojects/errors.rb', line 112 def code @code || @data[:code] end |
#message ⇒ String
117 118 119 |
# File 'lib/aws-sdk-iot1clickprojects/errors.rb', line 117 def @message || @data[:message] end |