Skip to main content

Interface: ErrorBoundaryState

Defined in: src/stores/error/ErrorBoundary.tsx:68

State for the ErrorBoundary component.

Propertiesโ€‹

error?โ€‹

optional error: Error

Defined in: src/stores/error/ErrorBoundary.tsx:70

The error object that was caught, if any


hasErrorโ€‹

hasError: boolean

Defined in: src/stores/error/ErrorBoundary.tsx:72

Whether an error has been caught and the fallback UI should be shown


retryCountโ€‹

retryCount: number

Defined in: src/stores/error/ErrorBoundary.tsx:74

Number of retry attempts, used to force re-mounting of children