Skip to content
callcount

context.Context.Err

standard library

The 91st most-called standard-library method by production calls. Called 15,997 times across 609 modules; 12,422 of those run outside tests and generated code.

3% in production calls vs 2026-W39 (12,100 → 12,422)

All of context → Docs on pkg.go.dev ↗

prod calls
12,422
non-test, non-generated
all calls
15,997
total callsites
modules
609
distinct callers
in loop
41%
of prod calls
in tests
19%
3,046 calls
resolved
0%
to a known target

resolution mix

How each call resolves

How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →

  • Embedded method<1%Reached through an embedded type.
  • Interface method100%Called through an interface. The runtime target may differ.

who calls this

Notable callers

Production calls into Context.Err from notable Go projects. Open one on the map to see what else it hammers.

where it's called

Callsites in the wild

12 representative callsites of 15,997, prioritizing in-loop and non-test usage. We link to source, never display it.

Context.Err · 12 of 15,997 callsites

top callers

The modules that reach for it

The modules that call Context.Err most in this snapshot.

  • github.com/terrastruct/d29396%
  • github.com/esengine/DeepSeek-Reasonix7265%
  • github.com/weaviate/weaviate5343%
  • vitess.io/vitess3172%
  • github.com/vitessio/vitess3052%

siblings

More from context

The other most-called members in this package. See all →