Expand description
The error codes this protocol version defines. Agents may send others;
retryable returns None for those.
Constants§
- ALL
- Every code above.
- BUSY
- The agent is still finishing an abandoned request. Retryable.
- CAPABILITY_
MISSING - The method needs a capability the agent did not advertise; the host refused to send it. Not retryable.
- DEADLINE_
EXCEEDED - The request’s deadline passed before the work finished. Retryable: the agent stays responsive and the same request can finish another time.
- DISCONNECTED
- The connection to the agent is gone. Not retryable on this connection; the message carries a reconnect hint.
- FRAME_
LIMIT_ TOO_ SMALL - The negotiated maximum frame size is below the protocol minimum. Not retryable.
- FRAME_
TOO_ LARGE - The message exceeds the negotiated maximum frame size. Not retryable.
- INTERNAL
- An unexpected failure inside the agent. Not retryable.
- INVALID_
PARAMS - The parameters are missing or malformed. Not retryable.
- NOT_
READY - The handshake has not completed yet. Retryable once it has.
- PROTOCOL_
ERROR - A malformed or unexpected message. Not retryable.
- TOKEN_
MISMATCH - The agent’s hello carried the wrong per-launch token. Not retryable.
- UNKNOWN_
METHOD - The agent does not implement the method. Not retryable.
- VERSION_
MISMATCH - The two sides share no protocol version. Not retryable.
- WINDOW_
CHANGED - The foreground window changed during acquisition. Retryable.