Returns true if the HTTP response code was in the 400-499 range OR
the 500-599 range.
(defn error?
"Returns true if the HTTP response code was in the 400-499 range OR
the 500-599 range."
[http-agnt]
(or (client-error? http-agnt)
(server-error? http-agnt)))
Comments top
No comments for error?. Log in to add a comment.