This commit is contained in:
2026-02-20 04:38:32 +00:00
committed by Anibal Angulo
parent 5fecad8e2d
commit 52a674959c
20 changed files with 309 additions and 283 deletions

View File

@@ -1,17 +1,16 @@
class FirestorePersistenceException(Exception):
"""
Exception raised when Firestore operations fail.
"""Exception raised when Firestore operations fail.
This is typically caught and logged without failing the request.
"""
def __init__(self, message: str, cause: Exception | None = None):
"""
Initialize Firestore persistence exception.
def __init__(self, message: str, cause: Exception | None = None) -> None:
"""Initialize Firestore persistence exception.
Args:
message: Error message
cause: Original exception that caused this error
"""
super().__init__(message)
self.cause = cause