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.


StevenMMortimer/salesforcer documentation built on Nov. 7, 2024, 4:23 p.m.