concept error - handle middleware in category node

appears as: error-hdling middleware
Node.js in Action, Second Edition

This is an excerpt from Manning's book Node.js in Action, Second Edition.

In this section, you’ll use both types, and you’ll learn how error-handling middleware works. You’ll also learn some useful patterns that can be applied while we look at the following: