Skip to content

Interface: RateLimitErrorOptions ​

Defined in: src/core/errors/apiError.ts:134

Extends ​

Properties ​

cause? ​

ts
optional cause?: unknown;

Defined in: src/core/errors/apiError.ts:5

The error that caused this one — a transport failure, a parse failure.

Inherited from ​

ApiErrorOptions.cause


retryAfterMs? ​

ts
optional retryAfterMs?: number;

Defined in: src/core/errors/apiError.ts:136

How long to wait before retrying, in ms, when the API said so.