github.com/cockroachdb/errors.Errorf
third-partyThe 440th most-called third-party function by production calls. Called 2,273 times across 10 modules; 1,874 of those run outside tests and generated code.
31% in production calls vs 2026-W37 (1,436 → 1,874)
- prod calls
- 1,874
- non-test, non-generated
- all calls
- 2,273
- total callsites
- modules
- 10
- distinct callers
- in loop
- 22%
- of prod calls
- in tests
- 18%
- 399 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 function (by syntax)100%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into Errorf from notable Go projects. Open one on the map to see what else it hammers.
- CockroachDB 644 34%
- Velero 219 12%
- Longhorn 63 3%
where it's called
Callsites in the wild
12 representative callsites of 2,273, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
encr.dev @v1.58.6
pkg/dockerbuild/spec.go:299
in loop - in loop
- in loop
- in loop
-
sourcegraph/sourcegraph-public-snapshot @v0.0.0
enterprise/cmd/worker/internal/executorqueue/queue_allocation.go:21 ↗
in loop - in loop
- in loop
- in loop
- in loop
-
encr.dev @v1.58.6
pkg/dockerbuild/spec.go:373
in loop - in loop
top callers
The modules that reach for it
The modules that call Errorf most in this snapshot.
- github.com/sourcegraph/sourcegraph-public-snapshot74033%
- github.com/cockroachdb/cockroach47221%
- github.com/velero-io/velero32514%
- github.com/vmware-tanzu/velero32514%
- github.com/cockroachdb/pebble/v226712%
siblings
More from github.com/cockroachdb/errors
The other most-called functions in this package. See all →