express-async-error-wrapper
A stupid wrapper for express routes to catch and call next()
on any errors thrown, allowing you to
use to throw errors while in async functions or promises.
Example Usage
const app = ;const wrap = ; // Will catch the error and go through the express error handler.app; // Will crash the server and cause timeout in the client.app; consoleapp;