Exception raised for API response errors.
This error is raised when the Ollama API returns an error response. It includes both the HTTP status code and the API error message.
Summary
Functions
Check if error is a client error (4xx).
Create from HTTP response.
Check if error indicates model not found.
Check if error is retryable.
Check if error is a server error (5xx).
Check if error indicates unauthorized.
Types
Functions
Check if error is a client error (4xx).
@spec from_response(Req.Response.t() | map()) :: t()
Create from HTTP response.
Check if error indicates model not found.
Check if error is retryable.
Check if error is a server error (5xx).
Check if error indicates unauthorized.