{
  "id": "go/too-many-errors",
  "signature": "too many errors",
  "signature_zh": "错误太多",
  "regex": "too many errors",
  "domain": "go",
  "category": "compile_error",
  "subcategory": null,
  "root_cause": "The Go compiler stops after a certain number of errors (default 10) to avoid flooding the output, indicating the code has many compilation issues.",
  "root_cause_type": "generic",
  "root_cause_zh": "Go 编译器在遇到一定数量的错误（默认 10 个）后停止，以避免输出过多，表明代码存在大量编译问题。",
  "versions": [
    {
      "version": "go1.21",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "go1.22",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "go1.23",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Go does not support a GOERRCOUNT variable; the limit is hardcoded.",
      "fail_rate": 0.99,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "The -e flag only affects one error per line, not the total count; the compiler still stops.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Fix the first few errors in the file, then recompile; the remaining errors will appear after those are resolved. Use `go build ./... 2>&1 | head -20` to see the first errors.",
      "success_rate": 0.95,
      "how": "Fix the first few errors in the file, then recompile; the remaining errors will appear after those are resolved. Use `go build ./... 2>&1 | head -20` to see the first errors.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Run `go vet` or `gofmt` to catch syntax issues early before building.",
      "success_rate": 0.85,
      "how": "Run `go vet` or `gofmt` to catch syntax issues early before building.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Fix the first few errors in the file, then recompile; the remaining errors will appear after those are resolved. Use `go build ./... 2>&1 | head -20` to see the first errors.",
    "Run `go vet` or `gofmt` to catch syntax issues early before building."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://go.dev/ref/spec#Errors",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.82,
  "fix_success_rate": 0.9,
  "resolvable": "true",
  "first_seen": "2023-06-10",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}