package cn.stylefeng.team.meta.db.enums;

import cn.stylefeng.roses.kernel.rule.constants.RuleConstants;
import cn.stylefeng.roses.kernel.rule.exception.AbstractExceptionEnum;
import lombok.Getter;

@Getter
public enum DbDataExceptionEnum implements AbstractExceptionEnum {

    PARAMETER_EMPTY(RuleConstants.USER_OPERATION_ERROR_TYPE_CODE + "10001", "初始化数据库数据工具类错误，传递参数为空");

    private final String errorCode;

    private final String userTip;

    DbDataExceptionEnum(String errorCode, String userTip) {
        this.errorCode = errorCode;
        this.userTip = userTip;
    }

}