UNPKG

error-advisor

Version:

NPM module that aim to facilitate the error handling by providing http errors classes and also let you customize business errors as well with handy and clean way.

5 lines (4 loc) 258 B
export default function errorAdvisor(options: any, err: any, res: any): any; export * from "./advisor/error/client_error/Client_Errors"; export * from "./advisor/error/server_error/Server_Errors"; export { default as Utils } from "./advisor/util/Utils";