Handles connection, parsing, and event-processing errors.
If no handler is provided, the error is logged with console.error.
Pass 'throw' to throw errors during render so they can be caught by the
unstable_catchError API
which supports unstable_retry for retrying the render.
Handles connection, parsing, and event-processing errors.
If no handler is provided, the error is logged with
console.error. Pass'throw'to throw errors during render so they can be caught by the unstable_catchError API which supportsunstable_retryfor retrying the render.