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

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

public class WeaverErrorCodes extends CommonErrorCodes {

    public static final ErrorCode SSO_FAILED =
            new DefaultErrorCode("WV01001", "泛微SSO认证失败，请联系管理员处理。");

    public static final ErrorCode CONFIG_MISSING =
            new DefaultErrorCode("WV01002", "泛微E10配置缺失，请联系管理员处理。");

    public static final ErrorCode TOKEN_FAILED =
            new DefaultErrorCode("WV01003", "泛微获取access_token失败。");

    public static final ErrorCode PROFILE_FAILED =
            new DefaultErrorCode("WV01004", "泛微获取用户信息失败。");

    public static final ErrorCode USER_ID_EMPTY =
            new DefaultErrorCode("WV01005", "泛微返回的用户标识为空，请检查账号映射配置。");
}
