Function · Core and Composition
ErrorBoundary
Restores the previous native tree and renders fallback content after a descendant fails.
@sharpts/gui · SharpTS 572a2e31be0eSignature
TypeScript
ErrorBoundary(props: ErrorBoundaryProps): GuiElementParameters
| Name | Type | Description |
|---|---|---|
props | ErrorBoundaryProps | Protected children and the fallback renderer. |
Returns
GuiElement — The boundary element consumed by the GUI renderer.
Related symbols
Source
src/SharpTS.Gui.Sdk/GuiPackage/runtime.ts:34 at SharpTS revision 572a2e31be0e2a09be0138bc44501b34d6245b51.