ApiError
Upgather SDK / ApiError
Interface: ApiError
Extended Error interface for API errors. Provides additional context for debugging and error handling.
Extends
Error
Properties
attempts?
optionalattempts:number
Number of retry attempts made (for retry errors)
cause?
optionalcause:Error
The original error that caused this error
Overrides
Error.cause
code?
optionalcode:string
Error code from the API, if available
response?
optionalresponse:ApiResponse
The full API response
statusCode?
optionalstatusCode:number
The HTTP status code