Skip to main content

ApiError

Upgather SDK


Upgather SDK / ApiError

Interface: ApiError

Extended Error interface for API errors. Provides additional context for debugging and error handling.

Extends​

  • Error

Properties​

attempts?​

optional attempts: number

Number of retry attempts made (for retry errors)


cause?​

optional cause: Error

The original error that caused this error

Overrides​

Error.cause


code?​

optional code: string

Error code from the API, if available


response?​

optional response: ApiResponse

The full API response


statusCode?​

optional statusCode: number

The HTTP status code