summaryrefslogtreecommitdiff
path: root/redis/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'redis/exceptions.py')
-rw-r--r--redis/exceptions.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/redis/exceptions.py b/redis/exceptions.py
index 6f47024..760af66 100644
--- a/redis/exceptions.py
+++ b/redis/exceptions.py
@@ -72,3 +72,11 @@ class LockNotOwnedError(LockError):
class ChildDeadlockedError(Exception):
"Error indicating that a child process is deadlocked after a fork()"
pass
+
+
+class AuthenticationWrongNumberOfArgsError(ResponseError):
+ """
+ An error to indicate that the wrong number of args
+ were sent to the AUTH command
+ """
+ pass