hasNotStatus

fun RestRequestException.hasNotStatus(vararg codes: HttpStatusCode): Boolean

Check if the given RestRequestException does not have a matching HttpStatusCode.

Receiver

Exception object to check.

Return

true if none of the status codes match, false otherwise.

Parameters

codes

Status codes to check for.