HttpResultException

constructor(statusCode: Int, statusMessage: String)

Creates a new instance based on a HTTP status code and message.

Parameters

statusCode

The HTTP code received by the server.

statusMessage

The message received by the server.