Exception: Redis::Lock::LostLock

Inherits:
Error
  • Object
show all
Defined in:
lib/redis-lock.rb

Instance Attribute Summary

Attributes inherited from Error

#lock

Instance Method Summary collapse

Methods inherited from Error

#initialize

Constructor Details

This class inherits a constructor from Redis::Lock::Error

Instance Method Details

#messageObject



235
236
237
# File 'lib/redis-lock.rb', line 235

def message
  "The following lock was lost while trying to modify: #{@lock}"
end