Skip to main content
Every non-2xx response throws a typed subclass of EigenpalError.

Retries

The SDK retries on 5xx, 429 (honoring Retry-After), and network errors. 4xx errors are surfaced immediately as typed exceptions. Configure via maxRetries:
Backoff is exponential (250ms, 500ms, 1s, 2s) unless the server returns Retry-After.

Request id

Every error carries requestId from the server’s response header. Forward it to support for fastest triage:

Bad baseUrl

If baseUrl points at a non-API host (the marketing site, a misconfigured proxy), the SDK throws EigenpalError with a clear message instead of returning HTML or surfacing a downstream JSON-parse crash. Set baseUrl to your EigenPal instance root.