|
|
|
@ -26,6 +26,7 @@ public enum ErrorCodeEnum implements ErrorCode {
|
|
|
|
|
* UNKNOWN_ERROR
|
|
|
|
|
*/
|
|
|
|
|
UNKNOWN_ERROR {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public String getCode() {
|
|
|
|
|
return "1";
|
|
|
|
@ -41,6 +42,7 @@ public enum ErrorCodeEnum implements ErrorCode {
|
|
|
|
|
* VALIDATION_ERROR
|
|
|
|
|
*/
|
|
|
|
|
VALIDATION_ERROR {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public String getCode() {
|
|
|
|
|
return "2";
|
|
|
|
@ -56,6 +58,7 @@ public enum ErrorCodeEnum implements ErrorCode {
|
|
|
|
|
* SERVICE_ERROR
|
|
|
|
|
*/
|
|
|
|
|
SERVICE_ERROR {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public String getCode() {
|
|
|
|
|
return "3";
|
|
|
|
@ -71,6 +74,7 @@ public enum ErrorCodeEnum implements ErrorCode {
|
|
|
|
|
* NOT_FOUND
|
|
|
|
|
*/
|
|
|
|
|
NOT_FOUND {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public String getCode() {
|
|
|
|
|
return "404";
|
|
|
|
@ -86,6 +90,7 @@ public enum ErrorCodeEnum implements ErrorCode {
|
|
|
|
|
* LOGIN_TIMEOUT
|
|
|
|
|
*/
|
|
|
|
|
LOGIN_TIMEOUT {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public String getCode() {
|
|
|
|
|
return "A000004";
|
|
|
|
|