Class: Aws::QLDB::Errors::ResourceNotFoundException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::QLDB::Errors::ResourceNotFoundException
- Defined in:
- lib/aws-sdk-qldb/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceNotFoundException
constructor
A new instance of ResourceNotFoundException.
- #message ⇒ String
- #resource_name ⇒ String
- #resource_type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceNotFoundException
Returns a new instance of ResourceNotFoundException.
138 139 140 |
# File 'lib/aws-sdk-qldb/errors.rb', line 138 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
143 144 145 |
# File 'lib/aws-sdk-qldb/errors.rb', line 143 def @message || @data[:message] end |
#resource_name ⇒ String
153 154 155 |
# File 'lib/aws-sdk-qldb/errors.rb', line 153 def resource_name @data[:resource_name] end |
#resource_type ⇒ String
148 149 150 |
# File 'lib/aws-sdk-qldb/errors.rb', line 148 def resource_type @data[:resource_type] end |