Skip to main content

Hierarchy

Every instance carries:

Pattern: handle known cases, surface the rest

Auto-retry already covers

These never reach you with the default config:
  • 429 RATE_LIMITED (waits and retries)
  • 502/503/504 (3 retries with backoff)
  • Transient NetworkError (3 retries with backoff)
To disable auto-retry: new Privata({ apiKey, retries: { max: 0 } }).