TanStack · Component
ErrorComponent
ErrorComponent displays a caught error and optional details. It also supports resetting the current error state.
Last updated
Syntax
<ErrorComponent error={error} info={info} reset={reset} />In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
ErrorComponentPropserrorComponentreset