ServerErrorException

open class ServerErrorException(    response: HttpResponse,     responseText: String,     cause: Throwable? = null) : DataloggerClientResponseException

Exception when the response denotes that there is error on the server side

Parameters

response

: HttpResponse containing the details of the response

responseText

: The message of the response as text

cause

: Cause of the exception

Constructors

Link copied to clipboard
fun ServerErrorException(    response: HttpResponse,     responseText: String,     cause: Throwable? = null)

Properties

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