What does calling next in the global error handling middle-ware do in express?

Viewed 14

as the title says, what does calling next in the global error handling middleware do in express? since it's the last middleware in the stack, why express gives us the next() argument if it does nothing?

0 Answers
Related