All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dagm.devtool.common.BaseErrorCode Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2019 maoyan.com
 * All rights reserved.
 *
 */
package com.dagm.devtool.common;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author Guimu
 */
@AllArgsConstructor
@Getter
public enum BaseErrorCode implements BaseCode {
    /**
     * 内部参数错误
     */
    INNER_PARAM_ERROR("9001", "内部参数错误"),
    /**
     * 参数错误
     */
    PARAM_ERROR("9002", "参数错误"),
    /**
     * 系统内部异常错误
     */
    SYSTEM_ERROR("9003", "系统内部异常错误"),
    /**
     * 未知错误
     */
    UNKNOW_ERROR("9004", "未知错误"),
    /**
     * 业务异常
     */
    BUSINESS_ERROR("9005", "业务异常"),
    ;

    private String code;
    private String msg;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy