Interface: ErrorBoundaryState
Defined in: src/stores/error/ErrorBoundary.tsx:83
State for the ErrorBoundary component.
Remarksโ
Tracks error state for rendering fallback UI. The retryCount is used to force re-mounting of children on retry.
Propertiesโ
error?โ
optional
error:Error
Defined in: src/stores/error/ErrorBoundary.tsx:85
The error object that was caught, if any
hasErrorโ
hasError:
boolean
Defined in: src/stores/error/ErrorBoundary.tsx:87
Whether an error has been caught and the fallback UI should be shown
retryCountโ
retryCount:
number
Defined in: src/stores/error/ErrorBoundary.tsx:89
Number of retry attempts, used to force re-mounting of children