diff options
Diffstat (limited to 'redis/exceptions.py')
-rw-r--r-- | redis/exceptions.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/redis/exceptions.py b/redis/exceptions.py index 44ab6f7..7f3034f 100644 --- a/redis/exceptions.py +++ b/redis/exceptions.py @@ -58,3 +58,8 @@ class LockError(RedisError, ValueError): # NOTE: For backwards compatability, this class derives from ValueError. # This was originally chosen to behave like threading.Lock. pass + + +class LockErrorNotOwned(LockError): + "Error related to lock that may have been owned being lost." + pass |