Exception: Redlock::LockError
- Inherits:
-
StandardError
- Object
- StandardError
- Redlock::LockError
- Defined in:
- lib/redlock.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(resource) ⇒ LockError
constructor
A new instance of LockError.
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 |