search for: stop_for_status

Displaying 1 result from an estimated 1 matches for "stop_for_status".

2016 Apr 04
0
Using R for cURL commands,Message-ID:
...y) >= 300) handle_reset(control$posturl) if (status_code(query) == 401) stop("invalid lanid/password for this application") else if (status_code(query) == 400) stop("internal error from dart package: 'syntax of request'") else stop_for_status(query) #other query errors, e.g. server down