express-catch-async
v1.0.3
Published
Wrapper for Express Route to catch async errors and pass them to next
Downloads
1
Maintainers
Readme
Examples of usage :
router.get('/', catchErrors(getAllEmployees));
async function getAllEmployees() {
return await Employee.findAllPromise();
}