Skip to content

@terminaldz/zrexpress-sdk / index / ZrExpressRateLimitError

Class: ZrExpressRateLimitError ​

Defined in: errors.ts:83

429 — rate limited (state-history polling is throttled by design).

Extends ​

Constructors ​

Constructor ​

ts
new ZrExpressRateLimitError(message, args): ZrExpressRateLimitError;

Defined in: errors.ts:87

Parameters ​

ParameterType
messagestring
argsApiErrorArgs & object

Returns ​

ZrExpressRateLimitError

Overrides ​

ZrExpressApiError.constructor

Properties ​

PropertyModifierTypeDescriptionInherited fromDefined in
statusreadonlynumber-ZrExpressApiError.statuserrors.ts:47
code?readonlystringMachine code from ProblemDetails.title, e.g. "ParcelErrors.NotFound".ZrExpressApiError.codeerrors.ts:49
detail?readonlystringHuman message from ProblemDetails.detail.ZrExpressApiError.detailerrors.ts:51
traceId?readonlystringSupport correlation id from the ProblemDetails traceId extension.ZrExpressApiError.traceIderrors.ts:53
problem?readonlyobject & objectRaw problem body when one was present (401/403 legitimately have none).ZrExpressApiError.problemerrors.ts:55
requestIdreadonlyZrRequestId-ZrExpressApiError.requestIderrors.ts:56
retryAfterMs?readonlynumberParsed Retry-After hint when the server sent one.-errors.ts:85

Released under the MIT License. Not affiliated with ZR Express.