powered by
Checks for HTTP error codes and JSON errors.
idig_check(req)
nothing. Stops if HTTP code is >= 400
the returned request
Francois Michonneau
Part 1 of the error checking process. This part handles HTTP error codes and then calls part 2 which handles JSON errors in the responses. Not exported.