Exception: Redlock::LockError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/redlock.rb

Direct Known Subclasses

LockAcquisitionError

Instance Method Summary collapse

Constructor Details

#initialize(resource) ⇒ LockError

Returns a new instance of LockError.



8
9
10
# File 'lib/redlock.rb', line 8

def initialize(resource)
  super "failed to acquire lock on '#{resource}'".freeze
end