Exception: Riak::CrdtError::PreconditionError

Inherits:
Riak::CrdtError show all
Defined in:
lib/riak/errors/crdt_error.rb

Instance Method Summary collapse

Methods included from Util::Translation

#i18n_scope, #t

Constructor Details

#initialize(message) ⇒ PreconditionError

Returns a new instance of PreconditionError.



13
14
15
# File 'lib/riak/errors/crdt_error.rb', line 13

def initialize(message)
  super t('crdt.precondition', message: message)
end