java-master/src/main/java/io/common/exception/ErrorCode.java
2025-06-12 13:27:39 +08:00

19 lines
406 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package io.common.exception;
/**
* 错误编码由5位数字组成前2位为模块编码后3位为业务编码
* <p>
* 如1000110代表系统模块001代表业务代码
* </p>
*/
public interface ErrorCode {
int INTERNAL_SERVER_ERROR = 500;
int UNAUTHORIZED = 401;
int NOT_NULL = 500;
int ACCOUNT_PASSWORD_ERROR = 10004;
int IDENTIFIER_NOT_NULL = 10006;
}