ErrorBoundary component that catches JavaScript errors anywhere in their child component tree,
logs those errors, and displays a fallback UI instead of the component tree that crashed.
The fallback includes a "Report Error" button that opens the bug-report dialog prefilled with
the caught error and its component stack.
ErrorBoundary component that catches JavaScript errors anywhere in their child component tree, logs those errors, and displays a fallback UI instead of the component tree that crashed. The fallback includes a "Report Error" button that opens the bug-report dialog prefilled with the caught error and its component stack.