Exception: Blodsband::Riak::List::ConcurrentUpdateError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/blodsband/riak/list.rb

Overview

An error signaling that saving a piece of data failed because it has been concurrently updated elsewhere.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(actor, message) ⇒ ConcurrentUpdateError

Returns a new instance of ConcurrentUpdateError.



20
21
22
23
# File 'lib/blodsband/riak/list.rb', line 20

def initialize(actor, message)
  super(message)
  @actor = actor
end

Instance Attribute Details

#actorObject (readonly)

Object

The actor that was concurrently updated.



19
20
21
# File 'lib/blodsband/riak/list.rb', line 19

def actor
  @actor
end