Voice et bot modif
This commit is contained in:
parent
189d56026b
commit
7333a22bcd
10774 changed files with 634644 additions and 933308 deletions
23
venv/lib/python3.12/site-packages/redis/multidb/exception.py
Normal file
23
venv/lib/python3.12/site-packages/redis/multidb/exception.py
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
class NoValidDatabaseException(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class UnhealthyDatabaseException(Exception):
|
||||
"""Exception raised when a database is unhealthy due to an underlying exception."""
|
||||
|
||||
def __init__(self, message, database, original_exception):
|
||||
super().__init__(message)
|
||||
self.database = database
|
||||
self.original_exception = original_exception
|
||||
|
||||
|
||||
class TemporaryUnavailableException(Exception):
|
||||
"""Exception raised when all databases in setup are temporary unavailable."""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class InitialHealthCheckFailedError(Exception):
|
||||
"""Exception raised when initial health check fails."""
|
||||
|
||||
pass
|
||||
Loading…
Add table
Add a link
Reference in a new issue