Skip to main content
The SDK throws typed errors you can catch and handle based on the error type.

Error types

Basic error handling

Automatic retries

The SDK automatically retries 429 and 5xx responses with exponential backoff up to maxRetries (default: 2). Retries apply to reads: GET requests and the read-only POST queries under client.tradeIntel. Other writes are retried only when you send an Idempotency-Key header.

Error properties

All SDK errors include: