Interface: ErrorBoundaryProps
Estimated reading time: less than 1 minuteThe props for the ErrorBoundary component.
See
Properties
catch
The error boundary to use if the async children throw an error.
The error will be string timeout if the rejection was caused by the timeout property.
If the timeout gets triggered, it will throw an
HtmlTimeout error.
children
The async children to render as soon as they are ready.
error?
The error class we should throw if the timeout gets triggered. Defaults to
HtmlTimeout
reject()
Returns
never
timeout?
If we should use the catch error boundary if the children takes longer than the timeout.
Use undefined or 0 to disable the timeout.