Documentation
On this page

Interface · Core and Composition

ErrorBoundaryProps

Props accepted by ErrorBoundary.

@sharpts/gui · SharpTS 572a2e31be0e

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

src/SharpTS.Gui.Sdk/GuiPackage/runtime-types.ts:174 at SharpTS revision 572a2e31be0e2a09be0138bc44501b34d6245b51.