Check if the given RestRequestException has a matching HttpStatusCode.
Exception object to check.
true if at least one status code matches, false otherwise.
true
false
Status codes to check for.