UNPKG

api-stds

Version:

Standardized API response and error handling toolkit with async handler, requestId, logging, and configurable formats.

6 lines (5 loc) 149 B
export declare function loadErrorRegistry(): void; export declare function getError(code: string): { httpStatus: number; message: string; };