Skip to main content

Module errors

Module errors 

Source
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
A2aErrorCode
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