You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Backup::Errors::DependencyFailureException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DependencyFailureException

Parameters:



59
60
61
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/errors.rb', line 59

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

Instance Method Details

#codeString

Returns:

  • (String)


64
65
66
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/errors.rb', line 64

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

#contextString

Returns:

  • (String)


79
80
81
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/errors.rb', line 79

def context
  @data[:context]
end

#messageString

Returns:

  • (String)


69
70
71
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/errors.rb', line 69

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

#typeString

Returns:

  • (String)


74
75
76
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/errors.rb', line 74

def type
  @data[:type]
end