ApiException

June 5, 2026 ยท View on GitHub

This is the base class for all exceptions that represent an error response from the server.

Constructors

NameDescription
ApiException(String reason)Initialization constructor.
ApiException(String reason, HttpContext context)Initialization constructor.

Methods

NameDescriptionReturn Type
getResponseCode()The HTTP Response code from the API requestint
getHttpContext()The HTTP Context from the API request.HttpContext