idig_check_error: Check is the request returned an error.

View source: R/base.R

idig_check_errorR Documentation

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)

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


iDigBio/ridigbio documentation built on Feb. 3, 2024, 4:41 p.m.