assert4xx

fun assert4xx(response: HttpResponse)

Asserts that the response's status code is in the 4xx range (client error).