Files
syops/frontend/src/locales/en/errors.json
T

24 lines
1.1 KiB
JSON

{
"generic": "Request failed.",
"codes": {
"AUTH_UNAUTHORIZED": "Please log in first.",
"AUTH_INCORRECT_PASSWORD": "Incorrect password",
"AUTH_INCORRECT_CURRENT_PASSWORD": "Incorrect current password",
"AUTH_USER_NOT_FOUND": "User not found",
"AUTH_ACCOUNT_DISABLED": "Account is disabled",
"AUTH_FORBIDDEN": "You do not have permission to perform this action.",
"RESOURCE_NOT_FOUND": "The requested resource was not found.",
"RESOURCE_CONFLICT": "Request conflict. Please refresh and try again.",
"VALIDATION_INVALID_PARAM": "Invalid request parameters.",
"USER_USERNAME_REQUIRED": "Username is required.",
"USER_USERNAME_EXISTS": "Username already exists.",
"USER_EMAIL_INVALID": "Invalid email format.",
"USER_EMAIL_EXISTS": "Email already exists.",
"USER_EMPLOYEE_ID_EXISTS": "Employee ID already exists.",
"USER_PHONE_EXISTS": "Phone number already exists.",
"USER_UNIQUENESS_CONFLICT": "Data uniqueness conflict.",
"SYSTEM_INTERNAL_ERROR": "Internal server error. Please try again later.",
"SYSTEM_HTTP_ERROR": "Request failed."
}
}