Error boundaries exist around high-risk feature sections
Why it matters
A root error boundary keeps the shell alive, but without feature-level boundaries a single crashing widget still takes down the entire dashboard, settings panel, or payment form. ISO 25010 reliability.fault-tolerance expects fault isolation: one failed revenue widget should not blank the user analytics widget beside it. Applications with data tables, real-time feeds, and payment forms are the highest-risk areas — each independently capable of crashing a page and forcing the user to reload and start over.
Severity rationale
Critical because without feature-level isolation, one widget crash eliminates access to all other features on the same page, amplifying impact beyond the single failure.
Remediation
Wrap each high-risk feature section in its own ErrorBoundary. In Next.js App Router, add error.tsx files inside each route segment directory; in other apps, use react-error-boundary at the component level.
// app/dashboard/error.tsx — dashboard-scoped boundary
'use client'
export default function DashboardError({
reset,
}: {
reset: () => void
}) {
return (
<div>
<p>Dashboard failed to load.</p>
<button onClick={reset}>Retry</button>
</div>
)
}
Target at minimum: dashboard, checkout/payment form, and any real-time feed — these three account for the highest crash frequency in vibe-coded apps.
DetectionPro
The detection method for this pattern is part of AuditBuffet Pro.
The full method (what to look for, pass and fail conditions, and how results get reported) ships inside the Error Resilience Audit. The pattern definition, severity rationale, and remediation remain openly licensed under CC-BY-4.0.
External references
- iso-25010:2011 · reliability.fault-tolerance
Taxons
History
- 2026-04-18·v1.0.0·Initial import from error-resilience·automated