/**
 * 前端错误码规则 code
 */

export const ERR_UNKNOW_API = { msg: "接口暂不支持", code: 11001, errcode: 1006, _in: true };
export const ERR_TIMEOUT = { msg: "调用超时", code: 11002, errcode: 2, _in: true };
export const ERR_PARAMS = { msg: "参数类型错误", code: 11003, errcode: 1, _in: true };

export const EVENT_NAME_NULL = { msg: "event name is null", code: 12001, errcode: 3, _in: true };
export const EVENT_CALLBACK_INVALID = { msg: "invalid callback ", code: 12002, errcode: 4, _in: true };
export const EVENT_UNSUPPORT = { msg: "unsupport event", code: 12003, errcode: 5, _in: true };