Skip to content

API Reference / @gtkx/react / index / CaughtErrorInfo

Type Alias: CaughtErrorInfo ​

CaughtErrorInfo = ErrorInfo & object

Defined in: packages/react/src/reconciler/root.ts:12

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.