Parent ErrorBoundary

Parent Route Caught the Error!

The child route threw an error but doesn't have its own ErrorBoundary. The error bubbled up to this parent route's ErrorBoundary.

Error Details

This error was thrown by a nested child route without an ErrorBoundary

How Error Bubbling Works

  1. Child route throws an error
  2. React Router looks for the nearest ErrorBoundary
  3. Child route has no ErrorBoundary, so it bubbles up
  4. Parent route's ErrorBoundary catches and displays the error