SizeFitApiException

class SizeFitApiException(val statusCode: Int, message: String = "API request failed with status code: ") : Exception

Exception thrown when the API returns an error status code.

Constructors

Link copied to clipboard
constructor(statusCode: Int, message: String = "API request failed with status code: ")

Properties

Link copied to clipboard

The HTTP status code returned by the API