# HttpError

Base class for all HTTP-related errors.

This is the parent class for HTTP communication errors that can occur during API requests to the Fiddler platform. While this specific class is deprecated and no longer thrown directly, it serves as the base for more specific HTTP error types.

{% hint style="info" %}
This class is deprecated and not thrown anymore. Use more specific HTTP error subclasses like ApiError, NotFound, or Conflict instead.
{% endhint %}

## Examples

Catching any HTTP-related error:

```python
try:
    # API operation
    pass

except HttpError as e:
    print(f"HTTP error: {e.message}")
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fiddler.ai/api/fiddler-python-client-sdk/exceptions/http-error.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
