Skip to main content

status_from_control_response

Function status_from_control_response 

Source
pub fn status_from_control_response(
    frame: &Value,
) -> Option<(Status, Option<String>)>
Expand description

The server’s status in the answer to our mcp_status, with the error the CLI keeps for a server that failed (MCP error -32000: Connection closed).