Skip to Content

RateLimitedErrorOptions

type RateLimitedErrorOptions = object;

Properties

reason?

readonly reason?: ApiErrorReasonOf<"RATE_LIMITED">;

retryAfterSeconds?

readonly retryAfterSeconds?: number;

Whole seconds, at least 0, until a retry can succeed. The error keeps it in retryAfterSeconds; the server answering the request sets the Retry-After header from it.

Last updated on