UNPKG

@afriex/core

Version:

HTTP client, configuration and typed errors for the Afriex Business API SDK

17 lines • 604 B
import { ApiError, ApiErrorResponse } from "./ApiError.js"; export declare class RateLimitError extends ApiError { readonly retryAfter?: number; constructor(response: ApiErrorResponse, retryAfter?: string); toJSON(): { name: string; message: string; timestamp: Date; stack: string | undefined; statusCode: number; errorCode: string | undefined; details: import("./ApiError.js").ApiErrorDetails | undefined; response: ApiErrorResponse; retryAfter: number | undefined; }; } //# sourceMappingURL=RateLimitError.d.ts.map