github.com/hashicorp/terraform-plugin-sdk/v2/diag.Errorf
third-partyThe 956th most-called third-party function by production calls. Called 855 times across 5 modules; 740 of those run outside tests and generated code.
No change in production calls since 2026-W48.
All of github.com/hashicorp/terraform-plugin-sdk/v2/diag → Docs on pkg.go.dev ↗
- prod calls
- 740
- non-test, non-generated
- all calls
- 855
- total callsites
- modules
- 5
- distinct callers
- in loop
- 3%
- of prod calls
- in tests
- 13%
- 115 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.
where it's called
Callsites in the wild
12 representative callsites of 855, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
okta/terraform-provider-okta @v0.0.0-20261125054809-9d45979e9d5d
okta/services/idaas/data_source_okta_app_user_assignments.go:47 ↗
in loop - in loop
-
okta/terraform-provider-okta @v0.0.0-20261125054809-9d45979e9d5d
okta/services/idaas/data_source_okta_app_group_assignments.go:48 ↗
in loop -
okta/terraform-provider-okta @v0.0.0-20261125054809-9d45979e9d5d
in loop -
okta/terraform-provider-okta @v0.0.0-20261125054809-9d45979e9d5d
in loop -
okta/terraform-provider-okta @v0.0.0-20261125054809-9d45979e9d5d
okta/services/idaas/data_source_okta_user_profile_mapping_source.go:62 ↗
in loop -
okta/terraform-provider-okta @v0.0.0-20261125054809-9d45979e9d5d
okta/services/idaas/resource_okta_policy_profile_enrollment_apps.go:68 ↗
in loop -
okta/terraform-provider-okta @v0.0.0-20261125054809-9d45979e9d5d
in loop -
okta/terraform-provider-okta @v0.0.0-20261125054809-9d45979e9d5d
in loop -
okta/terraform-provider-okta @v0.0.0-20261125054809-9d45979e9d5d
okta/services/idaas/resource_okta_policy_profile_enrollment_apps.go:110 ↗
in loop -
okta/terraform-provider-okta @v0.0.0-20261125054809-9d45979e9d5d
okta/services/idaas/resource_okta_admin_role_custom_assignments.go:110 ↗
in loop
top callers
The modules that reach for it
The modules that call Errorf most in this snapshot.
- github.com/okta/terraform-provider-okta68380%
- github.com/hashicorp/terraform-plugin-sdk/v211513%
- github.com/coder/terraform-provider-coder344%
- github.com/mrparkers/terraform-provider-keycloak192%
- github.com/honeycombio/terraform-provider-honeycombio4<1%
siblings
More from github.com/hashicorp/terraform-plugin-sdk/v2/diag
The other most-called functions in this package. See all →