pub fn extract_error_code(body: &Value) -> Option<(i64, &str)>
Extract the JSON-RPC error code from a response body (if it’s an error response).