HuggingfaceClient.Error.HttpRequestError exception
(huggingface_client v0.1.0)
Copy Markdown
View Source
Base for errors that carry HTTP request/response context.
The Authorization header is automatically redacted.
Summary
Types
@type http_response() :: %{ request_id: String.t(), status: non_neg_integer(), body: term() }
@type t() :: %HuggingfaceClient.Error.HttpRequestError{ __exception__: true, http_request: http_request(), http_response: http_response(), message: String.t() }