This commit is contained in:
FNOS-WIN11ENT\choshoukaku
2025-12-14 00:30:24 +09:00
parent 49cf65a5cb
commit c845373db8
619 changed files with 172 additions and 15 deletions

View File

@@ -0,0 +1,11 @@
from fastapi import HTTPException
class BusinessException(HTTPException):
def __init__(self, error_code: str, message: str):
super().__init__(
status_code=400,
detail={
"error_code": error_code,
"message": message
}
)