- 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
HealthProblem
Defined in: packages/db/src/types.ts:842
A problem on a health node. Its own fields are its newest failure's, and errors lists every failure of its frame that is still open, oldest first; the last entry is the newest. A source's failureReason lists each reportError() of the sync run since the problem began, once per error value; reportHealthy(error) removes that value's failure, and reportHealthy() ends it. An error from fail(), a failed first load, or a crash is one failure. A query's request error lists every request failure still open on its node, once per error value, and a failed replay adds each load it failed for.
Extends#
Properties#
at#
readonly at: number;Defined in: packages/db/src/types.ts:827
Epoch milliseconds when the problem was reported.
Inherited from#
cause#
readonly cause: unknown;Defined in: packages/db/src/types.ts:828
Inherited from#
code?#
readonly optional code: string;Defined in: packages/db/src/types.ts:825
Inherited from#
errors#
readonly errors: readonly CollectionErrorInfo[];Defined in: packages/db/src/types.ts:843
message#
readonly message: string;Defined in: packages/db/src/types.ts:824
Inherited from#
name#
readonly name: string;Defined in: packages/db/src/types.ts:823