Skip to main content

Module code

Module code 

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