a2a.client.errors module¶
Custom exceptions for the A2A client.
- exception a2a.client.errors.A2AClientError¶
Bases:
ExceptionBase exception for A2A Client errors.
- exception a2a.client.errors.A2AClientHTTPError(status_code: int, message: str)¶
Bases:
A2AClientErrorClient exception for HTTP errors received from the server.
- exception a2a.client.errors.A2AClientInvalidArgsError(message: str)¶
Bases:
A2AClientErrorClient exception for invalid arguments passed to a method.
- exception a2a.client.errors.A2AClientInvalidStateError(message: str)¶
Bases:
A2AClientErrorClient exception for an invalid client state.
- exception a2a.client.errors.A2AClientJSONError(message: str)¶
Bases:
A2AClientErrorClient exception for JSON errors during response parsing or validation.
- exception a2a.client.errors.A2AClientJSONRPCError(error: JSONRPCErrorResponse)¶
Bases:
A2AClientErrorClient exception for JSON-RPC errors returned by the server.
- exception a2a.client.errors.A2AClientTimeoutError(message: str)¶
Bases:
A2AClientErrorClient exception for timeout errors during a request.