typeredis_cluster_client_base library

Classes

TRClusterClientBase
The abstract base class for a cluster-aware Redis/Valkey client.

Exceptions / Errors

TRClientException
Thrown when a command is issued in an invalid client state.
TRConnectionException
Thrown when the client fails to connect to the server (e.g., connection refused) or if an established connection is lost. Corresponds to socket-level or network errors.
TRParsingException
Thrown if the client cannot parse the server's response.
TRServerException
Thrown when the Valkey server returns an error reply (e.g., -ERR, -WRONGPASS). These are errors reported by the server itself, indicating a command could not be processed.