feat: add license. (#10403)

This commit is contained in:
Garfield Dai
2024-11-15 17:59:36 +08:00
committed by GitHub
parent 2fed55ae6b
commit c2ce2f88c7
7 changed files with 60 additions and 5 deletions

View File

@@ -86,3 +86,9 @@ class NoFileUploadedError(BaseHTTPException):
error_code = "no_file_uploaded"
description = "Please upload your file."
code = 400
class UnauthorizedAndForceLogout(BaseHTTPException):
error_code = "unauthorized_and_force_logout"
description = "Unauthorized and force logout."
code = 401