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

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

@Getter
public enum FormExceptionEnum implements AbstractExceptionEnum {

    CANT_FIND_FORM(RuleConstants.BUSINESS_ERROR_TYPE_CODE + FormConstants.FORM_EXCEPTION_STEP_CODE + "01", "查询不到对应表单，具体信息：{}");

    private final String errorCode;

    private final String userTip;

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

}
