Something went wrong

This is the error.tsx boundary. The sibling page.tsx threw — the PRISM runtime caught the error and rendered this component with the error as a prop.

Error: intentional — demo of error.tsx (route-aware i18n)

Reload — every fresh request throws, so the boundary always renders.

Try it liveOpen in play

A runnable project for this example, opened in the bext play editor — edit the code and the preview updates.

src/app/page.tsx2 files · runs in your browser
Live-editable — the preview recompiles as you type.