Exception: Riak::Tombstone

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

Overview

Raised when a tombstone object (i.e. has vclock, but no rcontent values) 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) ⇒ Tombstone

Returns a new instance of Tombstone.



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

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