MCPcopy
hub / github.com/redis/redis-py / RedisClusterException

Class RedisClusterException

redis/exceptions.py:142–152  ·  view source on GitHub ↗

Base exception for the RedisCluster client

Source from the content-addressed store, hash-verified

140
141
142class RedisClusterException(Exception):
143 """
144 Base exception for the RedisCluster client
145 """
146
147 def __init__(self, *args):
148 super().__init__(*args)
149 self.error_type = ExceptionType.SERVER
150
151 def __repr__(self):
152 return f"{self.error_type.value}:{self.__class__.__name__}"
153
154
155class ClusterError(RedisError):

Callers 15

__init__Method · 0.90
get_special_nodesMethod · 0.90
monitorMethod · 0.90
pipelineMethod · 0.90
determine_slotMethod · 0.90
initializeMethod · 0.90
innerFunction · 0.90
evalMethod · 0.90
load_scriptsMethod · 0.90

Calls

no outgoing calls

Tested by 1