chore: improve prisma exception filter messages (#18227)

* chore: improve prisma exception filter messages

* fixup! chore: improve prisma exception filter messages
This commit is contained in:
Morgan authored and GitHub committed 2024-12-17 08:40:19 +00:00
1 parent 5293a5cc54
commit a0ce42e375
2 files changed
+36 -3

No files matched your search

+1
View File
@@ -18,6 +18,7 @@ export const METHOD_NOT_ALLOWED = "METHOD_NOT_ALLOWED";
export const UNPROCESSABLE_ENTITY = "UNPROCESSABLE_ENTITY";
export const ACCESS_TOKEN_EXPIRED = "ACCESS_TOKEN_IS_EXPIRED";
export const INVALID_ACCESS_TOKEN = "Invalid Access Token.";
export const CONFLICT = "CONFLICT";
// Server Errors (5xx)
export const INTERNAL_SERVER_ERROR = "INTERNAL_SERVER_ERROR";