mcp_error

Macro mcp_error 

Source
mcp_error!() { /* proc-macro */ }
Expand description

Helper macro for creating MCP errors

§Example

let error = "connection failed";
let result = mcp_error!("Something went wrong: {}", error);