View source: R/handle_api_errors.R
handle_api_errors | R Documentation |
This function checks for errors in the HTTP response and stops execution if the request was not successful.
handle_api_errors(response, url = "")
response |
An HTTP response object. |
url |
A string representing the requested URL (for more informative error messages). |
None. It stops execution if an error is detected.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.