Node.js - Error Handling Patterns
Given this error handling middleware:
app.use((err, req, res, next) => {
res.status(500).send(err.message);
});
Why might this middleware fail to catch some errors?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions