pub fn assert_tool_error(result: &CallToolResult, expected_message: &str)Expand description
Assert that a tool result is an error with expected message.
§Panics
Panics if the result is successful or doesn’t contain the expected message.
pub fn assert_tool_error(result: &CallToolResult, expected_message: &str)Assert that a tool result is an error with expected message.
Panics if the result is successful or doesn’t contain the expected message.