catch_errors: Function to catch and print HTTP errors

View source: R/utils-httr.R

catch_errorsR Documentation

Function to catch and print HTTP errors

Description

Function to catch and print HTTP errors

Usage

catch_errors(x)

Arguments

x

response(); a response from an HTTP request

Value

logical; return FALSE if the function finishes without detecting an error, otherwise stop the function call.

Note

This function is meant to be used internally. Only use when debugging.


salesforcer documentation built on March 18, 2022, 6:26 p.m.