Class: Aws::OAM::Errors::ResourceNotFoundException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::OAM::Errors::ResourceNotFoundException
- Defined in:
- lib/aws-sdk-oam/errors.rb
Instance Method Summary collapse
- #amzn_error_type ⇒ 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.
130 131 132 |
# File 'lib/aws-sdk-oam/errors.rb', line 130 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#amzn_error_type ⇒ String
140 141 142 |
# File 'lib/aws-sdk-oam/errors.rb', line 140 def amzn_error_type @data[:amzn_error_type] end |
#message ⇒ String
135 136 137 |
# File 'lib/aws-sdk-oam/errors.rb', line 135 def @message || @data[:message] end |