add exceptions
Test Workflow / test (push) Successful in 2s

This commit is contained in:
vladp
2025-12-26 12:22:40 +07:00
parent 18ec9b51f3
commit a2c20ae645
2 changed files with 32 additions and 20 deletions
@@ -8,6 +8,8 @@ public enum MessageCode {
INVALID_TOKEN(2, "Invalid token"),
INVALID_ACTION(2, "Invalid action"),
FILE_UPLOAD_ERROR(2, "File upload error"),
FILE_DOWNLOAD_ERROR(2, "File download error"),
FILE_DOWNLOAD_ERROR_NOT_CORRECT_FIELD(2, "File download error with correct field"),
INVALID_JSON_BODY(2, "Invalid fields in JSON object"),
INCOMPLETE_UPLOAD(2, "Not load all chunks"),
MSG_ID_NOT_FOUND(4, "Message id not found"),