pub fn err<T>(error: McpError) -> Outcome<T, McpError>
Creates an MCP error Outcome with the given error.