summaryrefslogtreecommitdiff
path: root/redis/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'redis/exceptions.py')
-rw-r--r--redis/exceptions.py25
1 files changed, 20 insertions, 5 deletions
diff --git a/redis/exceptions.py b/redis/exceptions.py
index acbe7b7..d3449b6 100644
--- a/redis/exceptions.py
+++ b/redis/exceptions.py
@@ -1,5 +1,20 @@
-class RedisError(Exception): pass
-class ConnectionError(RedisError): pass
-class ResponseError(RedisError): pass
-class InvalidResponse(RedisError): pass
-class InvalidData(RedisError): pass
+"Core exceptions raised by the Redis client"
+
+class RedisError(Exception):
+ pass
+
+class AuthenticationError(RedisError):
+ pass
+
+class ConnectionError(RedisError):
+ pass
+
+class ResponseError(RedisError):
+ pass
+
+class InvalidResponse(RedisError):
+ pass
+
+class InvalidData(RedisError):
+ pass
+ \ No newline at end of file