handle_api_error: Handle API Error Response

View source: R/utils.R

handle_api_errorR Documentation

Handle API Error Response

Description

Internal function to handle API error responses and generate user-friendly error messages.

Usage

handle_api_error(response, endpoint)

Arguments

response

HTTP response object from httr.

endpoint

Character. Endpoint that was called (for error context).

Value

NULL (throws error with formatted message).


cloudosR documentation built on June 1, 2026, 5:07 p.m.