AuthRestException

open class AuthRestException(errorCode: String, message: String, statusCode: Int) : RestException(source)

Base class for rest exceptions thrown by the Auth API.

Parameters

message

The message of the rest exception.

Inheritors

Constructors

Link copied to clipboard
constructor(errorCode: String, message: String, statusCode: Int)

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
open val message: String?
Link copied to clipboard