You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Next.js serves its default (unbranded) error pages when a route is not found or an unhandled error is thrown. A project starter should ship with branded error pages from day one.
Acceptance criteria
app/not-found.tsx — 404 page with a link back to /
app/error.tsx — client error boundary with a retry button (must be a Client Component with "use client")
app/global-error.tsx — root-level error boundary for layout errors
Pages use the existing theme (Tailwind v4, shadcn/ui tokens)
Problem
Next.js serves its default (unbranded) error pages when a route is not found or an unhandled error is thrown. A project starter should ship with branded error pages from day one.
Acceptance criteria
app/not-found.tsx— 404 page with a link back to/app/error.tsx— client error boundary with a retry button (must be a Client Component with"use client")app/global-error.tsx— root-level error boundary for layout errors