Closed lirantal closed 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.
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.