ClientException

constructor(cause: Throwable? = null)


constructor(    message: String? = null,     cause: Throwable? = null,     httpStatusCode: Int? = null,     errorBody: ErrorBody? = null,     errorString: String? = null,     errorType: String? = null,     httpURl: String? = null,     code: String? = null,     failureCount: Int? = null)

Parameters

httpStatusCode

the API code returned e.g 500, 400

errorBody

The error returned as a Json string.

message

the message related to this Exception.

cause

the cause related to this exception.

errorType

the string error type returned from API/ e.g INVALID_USERNAME_PASSWORD