Open History to see the last commit
1---
2id: reportUncaught
3title: reportUncaught
4---
5
6```ts
7function reportUncaught(error): void;
8```
9
10Defined in: [packages/db/src/utils/callbacks.ts:18](https://github.com/TanStack/db/blob/main/packages/db/src/utils/callbacks.ts#L18)
11
12Report an adapter contract breach, such as an `unloadSubset` that throws,
13without changing the caller's result. The error surfaces as uncaught.
14
15## Parameters
16
17### error
18
19`unknown`
20
21## Returns
22
23`void`