diff options
Diffstat (limited to 'redis/exceptions.py')
-rw-r--r-- | redis/exceptions.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/redis/exceptions.py b/redis/exceptions.py index 34e3816..af30cbf 100644 --- a/redis/exceptions.py +++ b/redis/exceptions.py @@ -8,15 +8,19 @@ class RedisError(Exception): class AuthenticationError(RedisError): pass + class ServerError(RedisError): pass + class ConnectionError(ServerError): pass + class InvalidResponse(ServerError): pass + class ResponseError(RedisError): pass @@ -32,8 +36,10 @@ class PubSubError(RedisError): class WatchError(RedisError): pass + class NoScriptError(ResponseError): pass + class ExecAbortError(ResponseError): pass |