DB Docs
API Reference
- Core API Reference
- Collection
- createCollection
- liveQueryCollectionOptions
- createLiveQueryCollection
- createOptimisticAction
- createTransaction
- Electric DB Collection
- electricCollectionOptions
- Query DB Collection
- queryCollectionOptions
- RxDB DB Collection
- rxdbCollectionOptions
- PowerSync Collection
- powerSyncCollectionOptions
- createIndexedDB
- indexedDBCollectionOptions
- React Hooks
- useLiveQuery
AI/LLM: This documentation page is available in plain markdown format at/db/latest/docs/reference/functions/reportUncaught.md
reportUncaught
ts
function reportUncaught(error): void;Defined in: packages/db/src/utils/callbacks.ts:18
Report an adapter contract breach, such as an unloadSubset that throws, without changing the caller's result. The error surfaces as uncaught.
Parameters#
error#
unknown
Returns#
void