Skip to content
callcount

github.com/aws/smithy-go.APIError.ErrorCode

third-party

The 7261st most-called third-party method by production calls. Called 234 times across 110 modules; 82 of those run outside tests and generated code.

5% in production calls vs 2026-W37 (78 → 82)

All of github.com/aws/smithy-go → Docs on pkg.go.dev ↗

prod calls
82
non-test, non-generated
all calls
234
total callsites
modules
110
distinct callers
in loop
12%
of prod calls
in tests
13%
31 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 →

  • Interface method100%Called through an interface. The runtime target may differ.

who calls this

Notable callers

Production calls into APIError.ErrorCode 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 234, 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 APIError.ErrorCode most in this snapshot.

  • github.com/aws/aws-sdk-go-v2/service/ec2198%
  • github.com/gruntwork-io/terragrunt188%
  • github.com/seaweedfs/seaweedfs125%
  • github.com/google/go-cloud115%
  • github.com/aws/aws-sdk-go-v2/service/cloudformation104%