Первый коммит

This commit is contained in:
2026-02-25 14:47:19 +03:00
commit 1e376aff24
170 changed files with 4893 additions and 0 deletions

9
app/core/exceptions.py Normal file
View File

@@ -0,0 +1,9 @@
from app.schemas.common import ModuleName
class AppError(Exception):
def __init__(self, code: str, desc: str, module: ModuleName) -> None:
super().__init__(desc)
self.code = code
self.desc = desc
self.module = module