Axon 911 Frontend DocsAxon 911 Frontend Docs
Axon 911 Frontend Docs
    Loading navigation…
U
User
Switch to light mode
  1. Primitives
  2. Error Boundary
  3. API and Development

Error Boundary

API and Development

View SourceOpens in a new tabSubmit IssueOpens in a new tab
ErrorBoundary from @prepared911/ui/error-boundary catches a render error in its children and shows recovery. It does not print the error. title, description, and retryLabel are localized props. fallback may be a node or a function of { error, reset }. onError is optional. LoadingBoundary from @prepared911/ui/loading-boundary is the suspense region. loadingLabel is required. error is an ErrorBoundary slot. Omit it to skip the boundary. dynamicImport from @prepared911/ui/dynamic-importer wraps a dynamic import with both.
Import
Previous
Error Boundary / Usage
Next
Error Boundary / Accessibility
On this page
Import