NotFoundErrorBoundary
Client class component catching render errors and showing a minimal recovery panel.
Exports
NotFoundErrorBoundary— class extendingComponent<Props, State>
Props
| Prop | Type |
|---|---|
children | ReactNode |
State
hasError,error— set bygetDerivedStateFromError
Behavior
componentDidCatchlogs toconsole.error.- Fallback: heading, refresh copy, button clears error state and calls
window.location.reload(). - Styles:
NotFoundErrorBoundary.css(error-boundary).
Sources: src/app/components/error-boundary/NotFoundErrorBoundary.tsx, src/app/components/error-boundary/NotFoundErrorBoundary.css