Exceptions¶
-
class
tredis.exceptions.
TRedisException
[source]¶ Raised as a top-level exception class for all exceptions raised by
RedisClient
.
-
class
tredis.exceptions.
ConnectError
[source]¶ Raised when
RedisClient
can not connect to the specified Redis server.
-
class
tredis.exceptions.
ConnectionError
[source]¶ Raised when
RedisClient
has had its connection to the Redis server interrupted unexpectedly.
-
class
tredis.exceptions.
InvalidClusterCommand
[source]¶ Raised when a method is invoked that is not able to be used when acting as a client for a Redis cluster.
-
class
tredis.exceptions.
AuthError
[source]¶ Raised when
auth()
is invoked and the Redis server returns an error.
-
class
tredis.exceptions.
RedisError
[source]¶ Raised when the Redis server returns a error to
RedisClient
. The string representation of this class will contain the error response from the Redis server, if one is sent.