stop_for_statusR Documentation

Catch error for an HTTP response

Description

Modifies from httr::stop_for_status

Usage

stop_for_status(response, context)

Arguments

response

An httr response

context

A list on the url and params for the request