Bad Request Exception
fun BadRequestException(message: String, statusCode: Int? = null, reason: String? = null, cause: Throwable? = null)
Content copied to clipboard
Parameters
statusCode
The status code of the request, if this exception is thrown after the completion of an HTTP request.
reason
The reason for the failure, as a readable message.