Exceptions
Exception types for connector operations.
Classes
ConnectorException
ConnectorException(method: str, path: str, status_code: int, response_body: str, *, response: Optional[ConnectorResponseSnapshot] = None)
Bases: HttpResponseError
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 |
response
|
Optional[ConnectorResponseSnapshot]
|
The completed connector response, when available. |
None
|