Initial commit (Clean history)

This commit is contained in:
anhduy-tech
2025-12-30 11:27:14 +07:00
commit ef48c93de0
19255 changed files with 3248867 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
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