Exception: Adapter::LockTimeout

Inherits:
Error
  • Object
show all
Defined in:
lib/adapter/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(key, timeout) ⇒ LockTimeout

Returns a new instance of LockTimeout.



13
14
15
# File 'lib/adapter/exceptions.rb', line 13

def initialize(key, timeout)
  super("Timeout on lock #{key} exceeded #{timeout} sec")
end