idig_check_error: Check is the request returned an error.
Description
Checks for error messages that can be returned by the API in JSON.
Usage
idig_check_error(req)
Value
nothing. Stops if request contains an error.
Details
Part 2 of the error checking process. Checks the JSON response for error
messages and stops if any are found. Not exported.