| handle_api_error | R Documentation |
Internal function to handle API error responses and generate user-friendly error messages.
handle_api_error(response, endpoint)
response |
HTTP response object from httr. |
endpoint |
Character. Endpoint that was called (for error context). |
NULL (throws error with formatted message).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.