AuthRestException

open class AuthRestException(errorCode: String, val errorDescription: String, response: HttpResponse) : RestException(source)

Base class for rest exceptions thrown by the Auth API.

Parameters

errorDescription

The description of the error.

Inheritors

Constructors

Link copied to clipboard
constructor(errorCode: String, errorDescription: String, response: HttpResponse)

Properties

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

The error code of the rest exception. If errorCode is not a known AuthErrorCode, this will be null. Then, use error instead to get the raw unknown error code.

Link copied to clipboard
Link copied to clipboard
open val message: String?
Link copied to clipboard
val response: HttpResponse
Link copied to clipboard