MCPcopy Index your code
hub / github.com/coder/coder / DiagnosticErrorString

Function DiagnosticErrorString

coderd/dynamicparameters/error.go:114–116  ·  view source on GitHub ↗
(d *hcl.Diagnostic)

Source from the content-addressed store, hash-verified

112}
113
114func DiagnosticErrorString(d *hcl.Diagnostic) string {
115 return fmt.Sprintf("%s; %s", d.Summary, d.Detail)
116}
117
118func DiagnosticsErrorString(d hcl.Diagnostics) string {
119 count := len(d)

Callers 1

DiagnosticsErrorStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected