UnexpectedStatus

class UnexpectedStatus(val code: Int, val serverMessage: String) : FeedbackException(source)

Raised when the server responds with an HTTP status code outside the accepted success range for the specific endpoint.

Constructors

Link copied to clipboard
constructor(code: Int, serverMessage: String)

Properties

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

The HTTP status code received from the server (e.g. 400, 403, 404, 429, 500).

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

Raw error message text extracted from the response body.