pub fn classify_error(tool_name: &str, error: &str) -> ToolErrorCategory
Classify an error from a tool result