Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

ResultOptions.md

18 lines694 Bytes

1---
2id: ResultOptions
3title: ResultOptions
4---
5​
6Defined in: [packages/query-core/src/types.ts:750](https://github.com/TanStack/query/blob/main/packages/query-core/src/types.ts#L750)
7​
8## Extended by
9​
10- [`RefetchOptions`](RefetchOptions.md)
11- [`FetchNextPageOptions`](FetchNextPageOptions.md)
12- [`FetchPreviousPageOptions`](FetchPreviousPageOptions.md)
13​
14## Properties
15​
16| Property | Type | Default value | Description |
17| ------ | ------ | ------ | ------ |
18| <a id="throwonerror"></a> `throwOnError?` | `boolean` | `false` | If set to `true`, the method throws if any of the underlying query refetch tasks fail. If set to `false`, failed refetches are swallowed and not surfaced to the caller. |