Skip to content

Exceptions

Exception types for connector operations.

Classes

ConnectorException

ConnectorException(method: str, path: str, status_code: int, response_body: str)

Bases: Exception

Exception raised when connector operations fail.

Initialize a ConnectorException.

Parameters:

Name Type Description Default
method str

The HTTP method that failed (e.g., "GET", "POST").

required
path str

The API path that was called (e.g., "/v2/Mail").

required
status_code int

The HTTP status code.

required
response_body str

The response body from the failed request.

required