Interface: ErrorBoundaryProperties
Defined in: src/stores/error/ErrorBoundary.tsx:52
Props for the ErrorBoundary component.
Propertiesโ
childrenโ
readonlychildren:ReactNode
Defined in: src/stores/error/ErrorBoundary.tsx:54
React children to be rendered within the error boundary
fallback?โ
readonlyoptionalfallback:ComponentType<ErrorBoundaryFallbackProps>
Defined in: src/stores/error/ErrorBoundary.tsx:57
Optional custom fallback component to render when an error occurs
onError()?โ
readonlyoptionalonError: (error:Error,errorInfo:ErrorInfo) =>void
Defined in: src/stores/error/ErrorBoundary.tsx:60
Optional callback function called when an error is caught
Parametersโ
errorโ
errorInfoโ
Returnsโ
void