Skip to main content

Class: HttpRateLimitQueueTimeoutError

Defined in: shared/utils/httpRateLimiter.ts:109

Raised when an operation cannot acquire a rate-limiter slot before its configured queue deadline.

Hierarchyโ€‹

View Summary

Extendsโ€‹

Constructorsโ€‹

Constructorโ€‹

new HttpRateLimitQueueTimeoutError(key: string, waitedMs: number): HttpRateLimitQueueTimeoutError;

Defined in: shared/utils/httpRateLimiter.ts:116

Parametersโ€‹

keyโ€‹

string

waitedMsโ€‹

number

Returnsโ€‹

HttpRateLimitQueueTimeoutError

Overridesโ€‹

Error.constructor;

Propertiesโ€‹

keyโ€‹

readonly key: string;

Defined in: shared/utils/httpRateLimiter.ts:111

Safe limiter key associated with the queued operation.


waitedMsโ€‹

readonly waitedMs: number;

Defined in: shared/utils/httpRateLimiter.ts:114

Time spent waiting for capacity before rejection.