package cn.stylefeng.team.meta.api.exception.enums;

import cn.stylefeng.roses.kernel.rule.constants.RuleConstants;
import cn.stylefeng.roses.kernel.rule.exception.AbstractExceptionEnum;
import cn.stylefeng.team.meta.api.constants.MetaConstants;
import lombok.Getter;

@Getter
public enum MetaExceptionEnum implements AbstractExceptionEnum {

    CANT_FIND_META(RuleConstants.BUSINESS_ERROR_TYPE_CODE + MetaConstants.META_EXCEPTION_STEP_CODE + "01", "查询不到对应元数据，具体信息：{}");

    private final String errorCode;

    private final String userTip;

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

}
