summaryrefslogtreecommitdiff
path: root/redis/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'redis/exceptions.py')
-rw-r--r--redis/exceptions.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/redis/exceptions.py b/redis/exceptions.py
index 760af66..ca2ad87 100644
--- a/redis/exceptions.py
+++ b/redis/exceptions.py
@@ -57,6 +57,10 @@ class NoPermissionError(ResponseError):
pass
+class ModuleError(ResponseError):
+ pass
+
+
class LockError(RedisError, ValueError):
"Errors acquiring or releasing a lock"
# NOTE: For backwards compatability, this class derives from ValueError.