Exception: RedisLocks::AlreadyLocked

Inherits:
ResourceUnavailable show all
Defined in:
lib/redis_locks/mutex.rb

Instance Method Summary collapse

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