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

1

Arguments

req

the returned request

Details

Part 2 of the error checking process. Checks the JSON response for error messages and stops if any are found. Not exported.

Value

nothing. Stops if request contains an error.

Author(s)

Francois Michonneau


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.