Skip to contents

Raise a more informative API error from an httr response.

Usage

stop_for_api_error(res, api_url, action)

Arguments

res

httr response object.

api_url

Request URL.

action

Human-readable action description.