package com.kingdee.eas.custom.integration.riskcontrol.exception;

import com.kingdee.eas.custom.integration.base.exception.DefaultErrorCode;
import com.kingdee.eas.custom.integration.base.exception.ErrorCode;

/**
 * 风控模块错误码。
 */
public class RiskControlErrorCodes {

    /** 参数校验失败 */
    public static final ErrorCode VALIDATION_ERROR =
            new DefaultErrorCode("RC01001", "参数校验失败");

    /** 数据保存失败 */
    public static final ErrorCode SAVE_ERROR =
            new DefaultErrorCode("RC01002", "数据保存失败");

    /** 数据非暂存状态，不可更新 */
    public static final ErrorCode UPDATE_NOT_ALLOWED =
            new DefaultErrorCode("RC01003", "数据非暂存状态，不可更新");
}
