mcp.tools.error.ToolError.into_error_data
This type appears in public signatures. It is not a package entry point.
-
Recover the underlying
ErrorData.Description#
For the one caller that reports a nested tool's own failure inside a batch item rather than as this tool's failure (
crate::TmuxTools::call_read_tools_batch), and for a test that calls a tool directly and inspects the classification a wire client would otherwise read fromisErrorcontent.