Exception: Riak::Conflict

Inherits:
StandardError
  • Object
show all
Includes:
Util::Translation
Defined in:
lib/riak/conflict.rb

Overview

Raised when an object that is in conflict (i.e. has siblings) is stored or manipulated as if it had a single value.

Instance Method Summary collapse

Methods included from Util::Translation

#i18n_scope, #t

Constructor Details

#initialize(robject) ⇒ Conflict

Returns a new instance of Conflict.



9
10
11
# File 'lib/riak/conflict.rb', line 9

def initialize(robject)
  super t('object_in_conflict', :robject => robject.inspect)
end