Class: Aws::Backup::Errors::ConflictException

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) ⇒ ConflictException

Returns a new instance of ConflictException.

Parameters:



92
93
94
# File 'lib/aws-sdk-backup/errors.rb', line 92

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

Instance Method Details

#codeString

Returns:

  • (String)


97
98
99
# File 'lib/aws-sdk-backup/errors.rb', line 97

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

#contextString

Returns:

  • (String)


112
113
114
# File 'lib/aws-sdk-backup/errors.rb', line 112

def context
  @data[:context]
end

#messageString

Returns:

  • (String)


102
103
104
# File 'lib/aws-sdk-backup/errors.rb', line 102

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

#typeString

Returns:

  • (String)


107
108
109
# File 'lib/aws-sdk-backup/errors.rb', line 107

def type
  @data[:type]
end