Error types
All API errors throw typed error classes that extendUQPayError:
| Field | Type | Description |
|---|---|---|
message | string | Human-readable error message |
httpStatus | number | HTTP status code |
type | string | API error type string |
code | string | API error code |
Handle API errors, configure retries, and understand error types in the UQPAY Node.js SDK.
UQPayError:
| Field | Type | Description |
|---|---|---|
message | string | Human-readable error message |
httpStatus | number | HTTP status code |
type | string | API error type string |
code | string | API error code |