Exception: RedisLocks::AlreadyLocked
- Inherits:
-
ResourceUnavailable
- Object
- RuntimeError
- ResourceUnavailable
- RedisLocks::AlreadyLocked
- Defined in:
- lib/redis_locks/mutex.rb
Instance Method Summary collapse
-
#initialize(key) ⇒ AlreadyLocked
constructor
A new instance of AlreadyLocked.
Constructor Details
#initialize(key) ⇒ AlreadyLocked
Returns a new instance of AlreadyLocked.
3 4 5 |
# File 'lib/redis_locks/mutex.rb', line 3 def initialize(key) super("Key [#{key}] already locked!") end |