API reference › @evolu/common › Task › RetryError
Defined in: packages/common/src/Task.ts:4025
Error returned by retry when retrying stops after a domain error.
Extends
Typed<"RetryError">
Properties
attempts
readonly attempts: number & Brand<"NonNaN"> & Brand<"Finite"> & Brand<"Int"> & Brand<"NonNegative"> & Brand<"Positive">;
Defined in: packages/common/src/Task.ts:4029
The number of attempts that were started.
lastError
readonly lastError: E;
Defined in: packages/common/src/Task.ts:4027
The final domain error that stopped retrying.
type
readonly type: "RetryError";
Defined in: packages/common/src/Type.ts:11986