UNPKG

@xilil/error-codes

Version:

统一错误码管理库 - 支持多语言、类型安全的错误处理工具

6 lines 331 B
export * from './types'; export * from './constants'; export * from './utils'; export { ALL_ERROR_CODES as ErrorCodes } from './constants'; export { getErrorCode, createErrorResponse, createSuccessResponse, AppError, expressErrorHandler, asyncHandler, throwError, throwIf, assert } from './utils'; //# sourceMappingURL=index.js.map