UNPKG

kopi-error-handler

Version:

This library is used to save time for reimplementing express not found and error handler, along with a nice and pretty method to return an error response with a proper error structure.

1 lines 211 B
"use strict";var httpErrorCreator=require("./httpErrorCreator"),handler=require("./handler");module.exports={create:httpErrorCreator.create,handleNotFound:handler.handleNotFound,handleError:handler.handleError};