ServerResponseException

class ServerResponseException(val statusCode: Int) : KoaniException

Exception thrown when a 5xx Server Error response is received from the API.

Constructors

Link copied to clipboard
constructor(statusCode: Int)

Properties

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

The HTTP status code.