Skip to content

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

ts
readonly at: number;

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

Epoch milliseconds when the problem was reported.

Inherited from

CollectionErrorInfo.at


cause

ts
readonly cause: unknown;

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

Inherited from

CollectionErrorInfo.cause


code?

ts
readonly optional code: string;

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

Inherited from

CollectionErrorInfo.code


errors

ts
readonly errors: readonly CollectionErrorInfo[];

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


message

ts
readonly message: string;

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

Inherited from

CollectionErrorInfo.message


name

ts
readonly name: string;

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

Inherited from

CollectionErrorInfo.name