Class: Aws::Schemas::Errors::NotFoundException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Schemas::Errors::NotFoundException
- Defined in:
- lib/aws-sdk-schemas/errors.rb
Instance Method Summary collapse
- #code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NotFoundException
constructor
A new instance of NotFoundException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NotFoundException
Returns a new instance of NotFoundException.
152 153 154 |
# File 'lib/aws-sdk-schemas/errors.rb', line 152 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
157 158 159 |
# File 'lib/aws-sdk-schemas/errors.rb', line 157 def code @code || @data[:code] end |
#message ⇒ String
162 163 164 |
# File 'lib/aws-sdk-schemas/errors.rb', line 162 def @message || @data[:message] end |