Skip to main content

Error types

All API errors throw typed error classes that extend UQPayError:
Each error exposes the following fields:

Catch errors

Retries

The SDK automatically retries failed requests on server errors, rate limits, and network errors using exponential backoff. Configure retries globally or per request: