Documentation
On this page

Interface · Core and Composition

ErrorBoundaryProps

Props accepted by ErrorBoundary.

@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43

Members

children

readonly children?: GuiChild

GUI content protected by the boundary.

Type: GuiChild

fallback

readonly fallback(error: unknown, reset: () => void): GuiChild

Renders replacement content for an error and receives a function that retries the protected tree.

Source

SharpTS.Gui.Sdk/GuiPackage/runtime-types.ts:157 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.