mcp.tools.error.ToolError.into_error_data
Rust
- Python Unavailable
- TypeScript Unavailable
- Rust
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
This type appears in public signatures. It is not a package entry point.
-
Recover the underlying
ErrorData.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.