Errors · In Spanish: límite de error (error boundary)

error boundary

A safety net in your app that catches unexpected errors and shows a friendly message with “Try again”.

Example in a project

For example, app/error.tsx and app/global-error.tsx are error boundaries your agent adds to every Next.js project from the first task.

Related terms

Lessons

← All terms

Last reviewed Nov 8, 2026