Express compatible error handler.
Optional
Callback method deciding whether error should be captured and sent to Sentry
Captured middleware error
Exposed as Handlers.errorHandler
Handlers.errorHandler
Express compatible error handler.