nightly - 2025-09-20

This commit is contained in:
2025-09-21 00:09:19 -04:00
parent cbc20a2897
commit b5afe0ef48
20 changed files with 323 additions and 5 deletions

9
api/exceptions.py Normal file
View File

@@ -0,0 +1,9 @@
from fastapi import HTTPException, status
bad_key = HTTPException(
status_code=status.HTTP_401_UNAUTHORIZED, detail="API Key is bad, very bad."
)
not_found = HTTPException(
status_code=status.HTTP_404_NOT_FOUND, detail="Resource not found."
)