AuthenticationException
open class AuthenticationException(message: String = "Unauthorized", status: HttpStatusCode = HttpStatusCode.Unauthorized, response: Response? = null) : HttpException
Thrown on HTTP response for an unauthenticated request, i.e. missing credentials (usually HttpStatusCode.Unauthorized).
Constructors
Link copied to clipboard
constructor(message: String = "Unauthorized", status: HttpStatusCode = HttpStatusCode.Unauthorized, response: Response? = null)