{
  "id": "python/asyncio-task-group-exception",
  "signature": "ExceptionGroup: unhandled errors in a TaskGroup",
  "signature_zh": "ExceptionGroup: TaskGroup 中未处理的错误",
  "regex": "ExceptionGroup:\\ unhandled\\ errors\\ in\\ a\\ TaskGroup",
  "domain": "python",
  "category": "runtime_error",
  "subcategory": null,
  "root_cause": "Multiple exceptions raised in asyncio.TaskGroup are aggregated into ExceptionGroup, requiring special handling.",
  "root_cause_type": "generic",
  "root_cause_zh": "asyncio.TaskGroup 中多个异常被聚合为 ExceptionGroup，需要特殊处理。",
  "versions": [
    {
      "version": "3.11",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.9,
      "how": "except* Exception: # handle all exceptions in group",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.85,
      "how": "for ex in eg.exceptions: # iterate and handle individually",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.84,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-07-22",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}