Exception: TreasureData::AlreadyExistsError

Inherits:
ClientError show all
Defined in:
lib/td/client/api_error.rb

Overview

409 Conflict

Instance Attribute Summary collapse

Attributes inherited from APIError

#api_backtrace

Instance Method Summary collapse

Constructor Details

#initialize(error_message = nil, api_backtrace = nil, conflicts_with = nil) ⇒ AlreadyExistsError

Returns a new instance of AlreadyExistsError.



43
44
45
46
# File 'lib/td/client/api_error.rb', line 43

def initialize(error_message = nil, api_backtrace = nil, conflicts_with=nil)
  super(error_message, api_backtrace)
  @conflicts_with = conflicts_with
end

Instance Attribute Details

#conflicts_withObject (readonly)

Returns the value of attribute conflicts_with.



42
43
44
# File 'lib/td/client/api_error.rb', line 42

def conflicts_with
  @conflicts_with
end