In my services using express nodejs. I knew about the express error handler, the callback function with err first
app.use(function(err, req, res, next)
And We can handle the uncaughtException also by
process.on('uncaughtException', function(err) {}
In fact, some uncaughtException will go to express error handler not uncaughtException handler.
Please help to tell me which error will be handled by express, which by uncaughtException handler?
Many thanks