NotAccepted

Thrown by io.ktor.client.statement.HttpResponse.accept when the response status does not match any of the expected io.ktor.http.HttpStatusCodes.

This is a manual assertion — not raised automatically by buildKHttpClient.

Parameters

message

Description including the actual status and the expected ones.

Constructors

Link copied to clipboard
constructor(message: String)

Properties

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