@@ -2,12 +2,12 @@ package ru.soune.no_copy.dto;
|
||||
|
||||
public enum MessageCode {
|
||||
SUCCESS(0, "Operation successful"),
|
||||
REG_EMAIL_EXISTS(2001, "Email already registered"),
|
||||
INVALID_FIELD(2002, "Invalid field"),
|
||||
MSG_ID_NOT_FOUND(2004, "Message id not found"),
|
||||
REG_EMAIL_EXISTS(4001, "Email already registered"),
|
||||
INVALID_FIELD(4002, "Invalid field"),
|
||||
MSG_ID_NOT_FOUND(4003, "Message id not found"),
|
||||
|
||||
AUTH_EMAIL_NOT_FOUND(2005, "Email not found"),
|
||||
AUTH_PASSWORD_NOT_MATCHES(2006, "Password does not match");
|
||||
AUTH_EMAIL_NOT_FOUND(4005, "Email not found"),
|
||||
AUTH_PASSWORD_NOT_MATCHES(4006, "Password does not match");
|
||||
|
||||
private final Integer code;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user