Error boundary
Use EuiErrorBoundary to prevent errors from taking down the entire app.
Loading...
Props
EuiErrorBoundary
Extends HTMLAttributes
Prop | Description and type | Default value |
---|---|---|
Prop className# | Description and type Type: string | Default value |
Prop aria-label# | Description and type Defines a string value that labels the current element. string | Default value |
Prop data-test-subj# | Description and type Type: string | Default value |
Prop css# | Description and type Type: Interpolation<Theme> | Default value |
Prop children# | Description and type ReactNode to render as this component's content ReactNode | Default value |
Prop onError# | Description and type Callback that fires when an error is caught. Passes back the full error (error: Error) => void | Default value |