Module: A2A::ErrorCodes

Defined in:
lib/a2a/types/error_codes.rb

Overview

Standard JSON-RPC error codes

Constant Summary collapse

PARSE_ERROR =

Invalid JSON was received by the server

-32_700
# The JSON sent is not a valid Request object
INVALID_REQUEST =

The JSON sent is not a valid Request object

-32_600
# The method does not exist / is not available
METHOD_NOT_FOUND =

The method does not exist / is not available

-32_601
# Invalid method parameter(s)
INVALID_PARAMS =

Invalid method parameter(s)

-32_602
# Internal JSON-RPC error
INTERNAL_ERROR =

Internal JSON-RPC error

-32_603
TASK_NOT_FOUND =

The specified task was not found

-32_001
# The specified task cannot be canceled
TASK_NOT_CANCELABLE =

The specified task cannot be canceled

-32_002
# Push Notifications are not supported for this operation or agent
PUSH_NOTIFICATION_NOT_SUPPORTED =

Push Notifications are not supported for this operation or agent

-32_003
# The requested operation is not supported by the agent
UNSUPPORTED_OPERATION =

The requested operation is not supported by the agent

-32_004
# Content type is not supported
CONTENT_TYPE_NOT_SUPPORTED =

Content type is not supported

-32_005
# Invalid agent response type
INVALID_AGENT_RESPONSE =

Invalid agent response type

-32_006
# Authenticated Extended Card not configured
AUTHENTICATED_EXTENDED_CARD_NOT_CONFIGURED =

Authenticated Extended Card not configured

-32_007