Checks for error messages that can be returned by the API in JSON.
Arguments
- req
the returned request
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.
Author
Francois Michonneau