ClientError

constructor(statusCode: Int, message: String)(source)

Parameters

statusCode

HTTP status code (400–499).

message

Error detail parsed from the response body.