handle_http_response: Handle HTTP response for quota and rate limiting errors

View source: R/tuber.R

handle_http_responseR Documentation

Handle HTTP response for quota and rate limiting errors

Description

Centralized error handling for all tuber HTTP functions. Checks for quota exceeded (403) and rate limiting (429) errors.

Usage

handle_http_response(req, auth = "token")

Arguments

req

The HTTP request/response object

auth

Authentication method ("token" or "key")

Value

NULL invisibly if no errors, otherwise stops with informative message


tuber documentation built on March 25, 2026, 9:08 a.m.