% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{handle_api_error}
\alias{handle_api_error}
\title{Handle API Error Response}
\usage{
handle_api_error(response, endpoint)
}
\arguments{
\item{response}{HTTP response object from httr.}

\item{endpoint}{Character. Endpoint that was called (for error context).}
}
\value{
NULL (throws error with formatted message).
}
\description{
Internal function to handle API error responses and generate user-friendly error messages.
}
\keyword{internal}
