idig_check: check HTTP code

View source: R/base.R

idig_checkR Documentation

check HTTP code

Description

Checks for HTTP error codes and JSON errors.

Usage

idig_check(req)

Arguments

req

the returned request

Details

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.

Value

nothing. Stops if HTTP code is >= 400

Author(s)

Francois Michonneau


ridigbio documentation built on Oct. 7, 2023, 1:08 a.m.