package cc.evil.logtest1.exception; import lombok.Getter; /** * 客户端异常 */ @Getter public class ClientException extends EvilBaseException { private final EvilErrorCode errorCode; private final String customMsg; public ClientException(EvilErrorCode errorCode) { super(errorCode); this.errorCode = errorCode; this.customMsg = null; } public ClientException(EvilErrorCode errorCode, String message) { super(errorCode, message); this.errorCode = errorCode; this.customMsg = message; } }