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

CollectionErrorInfo.md

66 lines1.3 KB

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

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.

Extended by

Properties

at

readonly at: number;

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

Epoch milliseconds when the problem was reported.


cause

readonly cause: unknown;

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


code?

readonly optional code: string;

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


message

readonly message: string;

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


name

readonly name: string;

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