A2A-specific JSON-RPC 2.0 error codes.
Standard JSON-RPC codes are in the -327xx range (parse, invalid request,
method not found, invalid params, internal). A2A-specific codes occupy
-32001 through -32007.
Every error is wire-shaped as:
%{"code" => integer, "message" => string, "data" => optional map}
Summary
Functions
Every error code defined by the spec (standard + A2A).
Build an error map with the default message for the given code.
Build an error map with a custom message and optional data payload.
The canonical default message for an error code.
Types
Functions
@spec all_codes() :: [code()]
Every error code defined by the spec (standard + A2A).
Build an error map with the default message for the given code.
Build an error map with a custom message and optional data payload.
The canonical default message for an error code.