log/slog.Error
standard libraryThe 570th most-called standard-library function by production calls. Called 1,321 times across 45 modules; 1,317 of those run outside tests and generated code.
- prod calls
- 1,317
- non-test, non-generated
- all calls
- 1,321
- total callsites
- modules
- 45
- distinct callers
- in loop
- 19%
- of prod calls
- in tests
- <1%
- 4 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.
where it's called
Callsites in the wild
12 representative callsites of 1,321, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
miekg/dns @v0.6.90
cmd/atomdns/atom/run.go:84
in loop - in loop
-
aquasecurity/trivy-java-db @v0.0.0-20260513130532-ec095357db14
in loop - in loop
- in loop
- in loop
- in loop
- in loop
-
charmbracelet/x/powernap @v0.1.6
pkg/lsp/client.go:821
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/chenhg5/cc-connect24719%
- github.com/bytebase/bytebase22617%
- github.com/derailed/k9s15212%
- github.com/yorukot/superfile1239%
- github.com/charmbracelet/crush1018%
siblings
More from log/slog
The other most-called functions in this package. See all →