Skip to content
callcount

github.com/pkg/errors.Cause

third-party

The 1672nd most-called third-party function by production calls. Called 447 times across 37 modules; 373 of those run outside tests and generated code.

1% in production calls vs 2026-W37 (375 → 373)

All of github.com/pkg/errors → Docs on pkg.go.dev ↗

prod calls
373
non-test, non-generated
all calls
447
total callsites
modules
37
distinct callers
in loop
33%
of prod calls
in tests
17%
74 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 function88%A direct call to an exported package function, resolved by type.
  • Package function (by syntax)12%A package function in a module outside the crawl, keyed by import path.

who calls this

Notable callers

Production calls into Cause 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 447, prioritizing in-loop and non-test usage. We link to source, never display it.

top callers

The modules that reach for it

The modules that call Cause most in this snapshot.

  • github.com/containers/libpod11325%
  • github.com/podman-container-tools/podman11325%
  • github.com/thanos-io/thanos409%
  • github.com/cockroachdb/cockroach327%
  • github.com/cortexproject/cortex184%

siblings

More from github.com/pkg/errors

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