An error boundary catches errors below it in the tree. If the boundary itself fails while rendering fallback UI, the error bubbles to a parent boundary.