Every route group should have an error.tsx to prevent crashes from propagating to the entire app.
Why This Matters
Without error.tsx, an unhandled error in any server component crashes the entire route tree up to the nearest error boundary.
Tags
nextjssupabase
Related Rules
Catch this automatically on every PR
BeforeMerge scans your pull requests against this rule and 2+ others. Get actionable feedback before code ships.