hasNotStatusCode

fun RestRequestException.hasNotStatusCode(vararg codes: Int): Boolean

Check if the given RestRequestException does not have a matching integer status code.

Receiver

Exception object to check.

Return

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

Parameters

codes

Status codes to check for.