ErrorNoticecomponent

ErrorNotice({ reason }: ErrorProps): ReactElement
ParamType
propsErrorProps
Props for a component that renders a caught error reason. required
    .reasonunknown
required
Return
ReactElement

Render a caught error as an inline <Notice> with a retry button.

  • Uses getMessage() to extract a human-readable message, falling back to "Unknown error".