Skip to content

Commit

Permalink
chore: update error definations
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJacky committed Feb 7, 2025
1 parent d83272d commit 7bb8cb5
Show file tree
Hide file tree
Showing 17 changed files with 846 additions and 655 deletions.
1 change: 1 addition & 0 deletions app/src/constants/errors/crypto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export default {
50001: () => $gettext('Plain text is empty'),
50002: () => $gettext('Cipher text is too short'),
40401: () => $gettext('Request timeout'),
}
4 changes: 4 additions & 0 deletions app/src/constants/errors/middleware.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export default {
40000: () => $gettext('Invalid request format'),
40001: () => $gettext('Decryption failed'),
}
Loading

0 comments on commit 7bb8cb5

Please sign in to comment.