API reference › @evolu/common › Task › RetryError

Defined in: packages/common/src/Task.ts:4111

Error returned by retry when retrying stops after a domain error.

Extends

Properties

attempts

readonly attempts: number & Brand<"NonNaN"> & Brand<"Finite"> & Brand<"Int"> & Brand<"NonNegative"> & Brand<"Positive">;

Defined in: packages/common/src/Task.ts:4115

The number of attempts that were started.


lastError

readonly lastError: E;

Defined in: packages/common/src/Task.ts:4113

The final domain error that stopped retrying.


type

readonly type: "RetryError";

Defined in: packages/common/src/Type.ts:19043

Inherited from

Typed.type