# Functions

HandleAPIErrorResponse handles the HTTP error response from an API and logs the error.
HandleAPISuccessResponse reads the response body, logs the raw response details, and unmarshals the response based on the content type.
IsNonRetryableStatusCode checks if the provided response indicates a non-retryable error.
IsPermanentRedirect checks if the provided HTTP status code is one of the permanent redirect codes.
IsRedirectStatusCode checks if the provided HTTP status code is one of the redirect codes.
IsRetryableStatusCode checks if the provided HTTP status code is considered retryable.
IsTransientError checks if an error or HTTP response indicates a transient error.

# Structs

APIError represents an api error response.