Describe what's incorrect/missing in the documentation
The current documentation for Error Boundary seems to be missing a lot of information and includes what seems to incorrect information.
It does not currently show you how to link an error boundary to your routes (data or framework). It also references a Route.ErrorBoundaryProps type from "./+types/root". I wasn't able to find that prop type anywhere, and the RouteObject ErrorBoundary field expects {} as props.
After some digging online it appears you're actually meant to use useRouteError, but that isn't noted on the page.