checkAPIResponse: checkAPIResponse

View source: R/RP_APITopLevelFunctions_History.R

checkAPIResponseR Documentation

checkAPIResponse

Description

Internal function to check the status of responses from endpoints.

Usage

checkAPIResponse(statusCode)

Arguments

statusCode

The status code contained in the endpoint response.

Value

It throws an ERROR if the status code corresonds to an error code. It prints a message if the status code corresponds to a successfull code.

Author(s)

Maria Gomez


RavenPack/r-api documentation built on July 30, 2022, 9:56 p.m.