lirantal / Riess.js

Riess.js is a de-coupled full stack JavaScript application framework
16 stars 10 forks source link

feat(error): generic error handler for API requests #11

Closed lirantal closed 7 years ago

lirantal commented 7 years ago

Adding a generic API error handler that builds on Express's error middleware to separate concerns and take actions based on specific errors (i.e: log the, stack trace, etc), instead of handling this per route.