github.com/hashicorp/terraform-plugin-sdk/v2/diag.FromErr
third-partyThe 875th most-called third-party function by production calls. Called 811 times across 5 modules; 766 of those run outside tests and generated code.
1% in production calls vs 2026-W37 (762 → 766)
All of github.com/hashicorp/terraform-plugin-sdk/v2/diag → Docs on pkg.go.dev ↗
- prod calls
- 766
- non-test, non-generated
- all calls
- 811
- total callsites
- modules
- 5
- distinct callers
- in loop
- 1%
- of prod calls
- in tests
- 6%
- 45 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 function84%A direct call to an exported package function, resolved by type.
- Package function (by syntax)16%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into FromErr from notable Go projects. Open one on the map to see what else it hammers.
- Terraform 13 2%
where it's called
Callsites in the wild
12 representative callsites of 811, prioritizing in-loop and non-test usage. We link to source, never display it.
-
mrparkers/terraform-provider-keycloak @v0.0.0-20260916130211-86ad7404984f
in loop -
mrparkers/terraform-provider-keycloak @v0.0.0-20260916130211-86ad7404984f
in loop -
mrparkers/terraform-provider-keycloak @v0.0.0-20260916130211-86ad7404984f
in loop -
mrparkers/terraform-provider-keycloak @v0.0.0-20260916130211-86ad7404984f
in loop -
mrparkers/terraform-provider-keycloak @v0.0.0-20260916130211-86ad7404984f
in loop -
mrparkers/terraform-provider-keycloak @v0.0.0-20260916130211-86ad7404984f
in loop -
mrparkers/terraform-provider-keycloak @v0.0.0-20260916130211-86ad7404984f
in loop -
mrparkers/terraform-provider-keycloak @v0.0.0-20260916130211-86ad7404984f
provider/resource_keycloak_realm_client_policy_profile.go:146 ↗
in loop -
mrparkers/terraform-provider-keycloak @v0.0.0-20260916130211-86ad7404984f
in loop -
mrparkers/terraform-provider-keycloak @v0.0.0-20260916130211-86ad7404984f
provider/resource_keycloak_realm_client_policy_profile_policy.go:158 ↗
in loop -
mrparkers/terraform-provider-keycloak @v0.0.0-20260916130211-86ad7404984f
in loop -
top callers
The modules that reach for it
The modules that call FromErr most in this snapshot.
- github.com/mrparkers/terraform-provider-keycloak60975%
- github.com/okta/terraform-provider-okta12315%
- github.com/hashicorp/terraform-plugin-sdk/v2587%
- github.com/honeycombio/terraform-provider-honeycombio121%
- github.com/coder/terraform-provider-coder91%
siblings
More from github.com/hashicorp/terraform-plugin-sdk/v2/diag
The other most-called functions in this package. See all →