| `error` | [`Error`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error) | The error instance that was caught. |
| `retry` | `() => void` | Re-fetches and re-renders the error boundary'schildren.Ifsuccessful,thefallbackisreplacedwiththere-renderedresult.|
|`reset`|`() => void`|Resetstheerrorstateandre-renderswithoutre-fetching.Use[`retry()`](/docs/app/api-reference/file-conventions/error#retry) in most cases. |
| `error` | `unknown` | The value that was caught. Narrow the value before accessing properties such as `message`. |
| `retry` | `() => void` | Re-fetches and re-renders the error boundary'schildren.Ifsuccessful,thefallbackisreplacedwiththere-renderedresult.|
|`reset`|`() => void`|Resetstheerrorstateandre-renderswithoutre-fetching.Use[`retry()`](/docs/app/api-reference/file-conventions/error#retry) in most cases. |