Handles error caught during rendering in React components.
The error object that was caught.
Additional information about the error.
Listen for error cancelation
Listens for updates to the component and handles error state.
Clears the garbage
A function that renders the children component. If there is an error in the state, it will return null. Otherwise, it will return the children component.
The rendered component or null if there is an error in the state.
Represents an error boundary component in React.