Docs

Error Handling

Handle route errors with dedicated entities and boundaries.

Updated: 2026-02-23

Error entities

Create pages/error.tsx for global route errors and pages/404.tsx for not-found.

You can also define route-level errorBoundary in page modules.