Skip to main content

RateLimitError

A typed error returned when the server asks the client to slow down.

Kind: Class
Package: @ovok/core

Import​

import { RateLimitError } from '@ovok/core';

TypeScript signatures​

(retryAfterMs?: number, options?: { cause?: unknown; }): RateLimitError
ParameterTypeDetails
retryAfterMsnumber—
options{ cause?: unknown; }—

Returns: RateLimitError.

Public members​

MemberTypeDetails
code"rate_limit"—
retryAfterMsnumber | undefined—

Learn the workflow​

Continue with Client Configuration for the workflow context and examples.

Source​

View the declaration in the SDK source.