net/http.Error
standard libraryThe 131st most-called standard-library function by production calls. Called 9,902 times across 381 modules; 7,626 of those run outside tests and generated code.
- prod calls
- 7,626
- non-test, non-generated
- all calls
- 9,902
- total callsites
- modules
- 381
- distinct callers
- in loop
- 3%
- of prod calls
- in tests
- 23%
- 2,275 calls
- resolved
- 100%
- 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 →
- Package function100%A direct call to an exported package function, resolved by type.
who calls this
Notable callers
Production calls into Error from notable Go projects. Open one on the map to see what else it hammers.
- Tailscale 717 9%
- Grafana 451 6%
- Kubernetes 338 4%
- Cortex 140 2%
- Argo 101 1%
where it's called
Callsites in the wild
12 representative callsites of 9,902, prioritizing in-loop and non-test usage. We link to source, never display it.
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop - in loop
-
GoesToEleven/GolangTraining @v0.0.0-20230828175525-f9a4f6cf3939
27_code-in-process/60_movie-website/01_search/search.go:35 ↗
in loop -
Shopify/toxiproxy @v1.2.1
in loop - in loop
- in loop
-
bettercap/bettercap @v0.0.0-20240809160008-76e136a18ed4
in loop - in loop
- in loop
- in loop
- in loop
- in loop
top callers
The modules that reach for it
The modules that call Error most in this snapshot.
- github.com/sagernet/tailscale7518%
- github.com/tailscale/tailscale7518%
- tailscale.com7518%
- github.com/weaviate/weaviate4124%
- github.com/GoesToEleven/GolangTraining4094%
siblings
More from net/http
The other most-called functions in this package. See all →