Exception: Redlock::LockError
- Inherits:
-
StandardError
- Object
- StandardError
- Redlock::LockError
- Defined in:
- lib/redlock.rb
Instance Method Summary collapse
-
#initialize(resource) ⇒ LockError
constructor
A new instance of LockError.
Constructor Details
#initialize(resource) ⇒ LockError
Returns a new instance of LockError.
7 8 9 |
# File 'lib/redlock.rb', line 7 def initialize(resource) super "failed to acquire lock on '#{resource}'".freeze end |