Base exception for the RedisCluster client
| 140 | |
| 141 | |
| 142 | class 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 | |
| 155 | class ClusterError(RedisError): |
no outgoing calls