package cn.stylefeng.workflow.instance.modular.draft.enums;

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

@Getter
public enum FlowEngineDraftExceptionEnum implements AbstractExceptionEnum {

    FLOW_ENGINE_DRAFT_NOT_EXISTED(RuleConstants.USER_OPERATION_ERROR_TYPE_CODE +  "10001", "草稿查询结果不存在");

    private final String errorCode;

    private final String userTip;

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

}
