feat/ 导出开发容器内的数据用于评估

This commit is contained in:
Kevin
2026-04-03 14:44:46 +08:00
parent 828a29748e
commit b75edacb5f
51 changed files with 5999 additions and 57 deletions

View File

@@ -0,0 +1,13 @@
"""评测 API 领域异常(由 router 映射为 HTTP 状态码)。"""
class EvaluationNotFoundError(Exception):
def __init__(self, detail: str = "not found") -> None:
self.detail = detail
super().__init__(detail)
class EvaluationBadRequestError(Exception):
def __init__(self, detail: str) -> None:
self.detail = detail
super().__init__(detail)