Class: Aws::Backup::Errors::ResourceNotFoundException

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-backup/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceNotFoundException

Returns a new instance of ResourceNotFoundException.

Parameters:



302
303
304
# File 'lib/aws-sdk-backup/errors.rb', line 302

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#codeString

Returns:

  • (String)


307
308
309
# File 'lib/aws-sdk-backup/errors.rb', line 307

def code
  @code || @data[:code]
end

#contextString

Returns:

  • (String)


322
323
324
# File 'lib/aws-sdk-backup/errors.rb', line 322

def context
  @data[:context]
end

#messageString

Returns:

  • (String)


312
313
314
# File 'lib/aws-sdk-backup/errors.rb', line 312

def message
  @message || @data[:message]
end

#typeString

Returns:

  • (String)


317
318
319
# File 'lib/aws-sdk-backup/errors.rb', line 317

def type
  @data[:type]
end