Error

data class Error(val code: Int, val message: String) : Response<Nothing>

Represents an Error response containing an HTTP code and an error message.

Constructors

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

Properties

Link copied to clipboard
val code: Int
Link copied to clipboard