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

Class RedisError

redis/exceptions.py:13–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11
12
13class RedisError(Exception):
14 def __init__(self, *args, status_code: str = None):
15 super().__init__(*args)
16 self.error_type = ExceptionType.SERVER
17 self.status_code = status_code
18
19 def __repr__(self):
20 return f"{self.error_type.value}:{self.__class__.__name__}"
21
22
23class ConnectionError(RedisError):

Callers 15

__init__Method · 0.90
_start_monitorMethod · 0.90
multiMethod · 0.90
watchMethod · 0.90
__init__Method · 0.90
__init__Method · 0.90
_validate_watchMethod · 0.90
multiMethod · 0.90
watchMethod · 0.90

Calls

no outgoing calls