UNPKG

qn-code-msg

Version:

一个用于管理错误码和错误消息映射的轻量级工具库。支持添加、获取、检查、修改和删除错误码及其对应的消息。

11 lines 190 B
// 从src目录导出所有模块 export { getAllCode, removeCode, addCode, getCode, hasCode, setCode, errorCodeObject, errorCodeMap } from './src/index.js';