DemoServerException

class DemoServerException(val status: Int?, message: String, cause: Throwable? = null) : Exception

The demo server answered with an error (status and its message), or could not be reached (status null).

Constructors

Link copied to clipboard
constructor(status: Int?, message: String, cause: Throwable? = null)

Properties

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

The HTTP status, or null when the server could not be reached.