UnauthorizedException

class UnauthorizedException(val error: String?, val apiMessage: String?) : KoaniException

Exception thrown when a 401 Unauthorized response is received from the API.

Constructors

Link copied to clipboard
constructor(error: String?, apiMessage: String?)

Properties

Link copied to clipboard

The error message returned by the API.

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard

The error code returned by the API.

Link copied to clipboard
expect open val message: String?