refac: error message

This commit is contained in:
Timothy J. Baek
2024-03-05 01:07:59 -08:00
parent f04d60b6d9
commit 8fd7bc342d
3 changed files with 12 additions and 7 deletions

View File

@@ -48,3 +48,5 @@ class ERROR_MESSAGES(str, Enum):
lambda err="": f"Invalid format. Please use the correct format{err if err else ''}"
)
RATE_LIMIT_EXCEEDED = "API rate limit exceeded"
MODEL_NOT_FOUND = lambda name="": f"Model '{name}' was not found"