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

CollectionErrorInfo.md

62 lines1.2 KB

Defined in: packages/db/src/types.ts:794

Detail about a Collection problem. Every field except cause is plain data, so the value can be logged or sent as JSON; cause keeps the original value and is omitted from JSON.

Properties

at

readonly at: number;

Defined in: packages/db/src/types.ts:799

Epoch milliseconds when the problem was reported.


cause

readonly cause: unknown;

Defined in: packages/db/src/types.ts:800


code?

readonly optional code: string;

Defined in: packages/db/src/types.ts:797


message

readonly message: string;

Defined in: packages/db/src/types.ts:796


name

readonly name: string;

Defined in: packages/db/src/types.ts:795