HttpError

API reference for HttpError

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.

This class is deprecated and not thrown anymore. Use more specific HTTP error subclasses like ApiError, NotFound, or Conflict instead.

Examples

Catching any HTTP-related error:

try:
        # API operation
  pass

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

Parameters

message (str)

Last updated

Was this helpful?