package com.iotechn.unimall.launcher.exception;

import com.iotechn.unimall.core.exception.ServiceExceptionDefinition;

/**
 * Created by rize on 2019/6/30.
 */
public class LauncherExceptionDefinition {

    public static  ServiceExceptionDefinition LAUNCHER_API_REGISTER_FAILED =
            new ServiceExceptionDefinition(9999, "api注册失败");

    public static  ServiceExceptionDefinition LAUNCHER_UNKNOWN_EXCEPTION =
            new ServiceExceptionDefinition(10000, "系统未知异常");

    public static  ServiceExceptionDefinition LAUNCHER_USER_NOT_LOGIN =
            new ServiceExceptionDefinition(10001, "用户尚未登录");

    public static  ServiceExceptionDefinition LAUNCHER_PARAM_CHECK_FAILED =
            new ServiceExceptionDefinition(10002, "参数校验失败");

    public static  ServiceExceptionDefinition LAUNCHER_API_NOT_EXISTS =
            new ServiceExceptionDefinition(10003, "API不存在");

    public static  ServiceExceptionDefinition LAUNCHER_DATA_NOT_CONSISTENT =
            new ServiceExceptionDefinition(10004, "attention please！系统内部数据不一致 注意！！");

    public static  ServiceExceptionDefinition LAUNCHER_API_NOT_SUPPORT =
            new ServiceExceptionDefinition(10005, "Api 不再支持调用");

    public static  ServiceExceptionDefinition LAUNCHER_ADMIN_NOT_LOGIN =
            new ServiceExceptionDefinition(10006, " 管理员尚未登录");

    public static  ServiceExceptionDefinition LAUNCHER_SYSTEM_BUSY =
            new ServiceExceptionDefinition(10007, "系统繁忙～");

    public static  ServiceExceptionDefinition LAUNCHER_ADMIN_PERMISSION_DENY =
            new ServiceExceptionDefinition(10008, "管理员权限不足");

}
