Skip to content

API Reference / @gtkx/react / index / CaughtErrorInfo

Type Alias: CaughtErrorInfo

CaughtErrorInfo = ErrorInfo & object

Defined in: reconciler/root.d.ts:5

Error info handed to a caught-error callback, naming the error boundary that stopped the error.

Type Declaration

errorBoundary?

optional errorBoundary?: Component<unknown> | null

The error boundary that caught the error, or null when that boundary is not a class component.

Released under the MPL-2.0 License.