Expand description
A2A Protocol error types and error codes
Implements both standard JSON-RPC 2.0 error codes and A2A-specific error codes as defined in the A2A specification.
Enums§
- A2aError
- A2A protocol error
- A2aError
Code - A2A error code enum for type-safe error handling
Constants§
- AUTHENTICATED_
EXTENDED_ CARD_ NOT_ CONFIGURED_ ERROR - Authenticated extended card not configured
- CONTENT_
TYPE_ NOT_ SUPPORTED_ ERROR - Content type not supported - The content type is not supported
- INTERNAL_
ERROR - Internal error - Internal JSON-RPC error
- INVALID_
AGENT_ RESPONSE_ ERROR - Invalid agent response - The agent returned an invalid response
- INVALID_
PARAMS_ ERROR - Invalid params - Invalid method parameters
- INVALID_
REQUEST_ ERROR - Invalid Request - The JSON sent is not a valid Request object
- JSON_
PARSE_ ERROR - Parse error - Invalid JSON was received
- METHOD_
NOT_ FOUND_ ERROR - Method not found - The method does not exist / is not available
- PUSH_
NOTIFICATION_ NOT_ SUPPORTED_ ERROR - Push notifications not supported - The agent does not support push notifications
- TASK_
NOT_ CANCELABLE_ ERROR - Task not cancelable - The task cannot be canceled in its current state
- TASK_
NOT_ FOUND_ ERROR - Task not found - The specified task does not exist
- UNSUPPORTED_
OPERATION_ ERROR - Unsupported operation - The requested operation is not supported
Type Aliases§
- A2aResult
- A2A Result type alias