Class: Aws::Account::Errors::ResourceNotFoundException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Account::Errors::ResourceNotFoundException
- Defined in:
- gems/aws-sdk-account/lib/aws-sdk-account/errors.rb
Instance Method Summary collapse
-
#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.
113 114 115 |
# File 'gems/aws-sdk-account/lib/aws-sdk-account/errors.rb', line 113 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error_type ⇒ String
118 119 120 |
# File 'gems/aws-sdk-account/lib/aws-sdk-account/errors.rb', line 118 def error_type @data[:error_type] end |
#message ⇒ String
123 124 125 |
# File 'gems/aws-sdk-account/lib/aws-sdk-account/errors.rb', line 123 def @message || @data[:message] end |