Exception: Dynflow::Coordinator::LockError

Inherits:
Error
  • Object
show all
Defined in:
lib/dynflow/coordinator.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Error

from_hash, #to_hash

Constructor Details

#initialize(lock) ⇒ LockError

Returns a new instance of LockError.



21
22
23
24
# File 'lib/dynflow/coordinator.rb', line 21

def initialize(lock)
  @lock = lock
  super("Unable to acquire lock #{lock}")
end

Instance Attribute Details

#lockObject (readonly)

Returns the value of attribute lock.



19
20
21
# File 'lib/dynflow/coordinator.rb', line 19

def lock
  @lock
end