Exception: Blodsband::Riak::List::ConcurrentUpdateError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Blodsband::Riak::List::ConcurrentUpdateError
- 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
-
#actor ⇒ Object
readonly
- Object
-
The actor that was concurrently updated.
Instance Method Summary collapse
-
#initialize(actor, message) ⇒ ConcurrentUpdateError
constructor
A new instance of ConcurrentUpdateError.
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, ) super() @actor = actor end |
Instance Attribute Details
#actor ⇒ Object (readonly)
- Object
-
The actor that was concurrently updated.
19 20 21 |
# File 'lib/blodsband/riak/list.rb', line 19 def actor @actor end |