Class: Aws::Backup::Errors::ResourceNotFoundException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Backup::Errors::ResourceNotFoundException
- Defined in:
- lib/aws-sdk-backup/errors.rb
Instance Method Summary collapse
- #code ⇒ String
- #context ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceNotFoundException
constructor
A new instance of ResourceNotFoundException.
- #message ⇒ String
- #type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceNotFoundException
Returns a new instance of ResourceNotFoundException.
302 303 304 |
# File 'lib/aws-sdk-backup/errors.rb', line 302 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
307 308 309 |
# File 'lib/aws-sdk-backup/errors.rb', line 307 def code @code || @data[:code] end |
#context ⇒ String
322 323 324 |
# File 'lib/aws-sdk-backup/errors.rb', line 322 def context @data[:context] end |
#message ⇒ String
312 313 314 |
# File 'lib/aws-sdk-backup/errors.rb', line 312 def @message || @data[:message] end |
#type ⇒ String
317 318 319 |
# File 'lib/aws-sdk-backup/errors.rb', line 317 def type @data[:type] end |