Expand description
Structured errors (spec: Structured errors): a stable snake_case code, a human-readable message, and whether retrying the same request is meaningful.
Modules§
- code
- The error codes this protocol version defines. Agents may send others;
retryablereturnsNonefor those.
Structs§
- Error
- An error carried in a response or welcome, or produced by the host session on the agent’s behalf (a missing capability, a passed deadline, a lost connection).
Functions§
- retryable
- Whether retrying is meaningful for a code this protocol version defines,
or
Nonefor any other code.