Skip to main content
This exception represents errors returned by the Fiddler platform API, including both client errors (4xx status codes) and server errors (5xx status codes). It contains detailed information about the error including the HTTP status code, error message, and any additional error details provided by the API. ApiError serves as the base class for more specific API errors like NotFound and Conflict, but can also be raised directly for other HTTP error status codes.

errors

Additional error details from the API (if any)

Examples

Handling general API errors:
Handling specific status codes:

Attributes

Short reason string identifying the error type.
HTTP status code returned by the API response.