The component props
Lifecycle method called when an error is caught. Logs error details and calls the onError callback.
The error that was thrown
Additional error information from React (unused)
Resets the error boundary state to clear the error and re-render children
Static
getStatic method to update state when an error is caught
The error that was thrown
Updated state object
Error boundary component for notebook components that catches and handles errors gracefully.