title: How does the Error Handler work?
body: <p>How does the the <a href="https://expressjs.com/en/guide/error-handling.html" rel="nofollow noreferrer">error handler</a> get triggered?</p>
  
  <p>In sample code, I find that it is placed at the bottom of all the middleware functions. Is the position important?</p>