Skip to content
masterclass Buddy

Express.js · Interface

ErrorRequestHandler

Express catches synchronous errors thrown in route handlers and middleware. It also provides a default error handler, so a custom one is not required to begin.

Last updated

Syntax

app.get(path, callback)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • route handlers
  • middleware
  • default error handler
  • asynchronous code

Source: Error Handling · Express.js 5.x. Checked 2026-11-03.