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

Function presetValidationError

coderd/dynamicparameters/error.go:29–35  ·  view source on GitHub ↗
(diags hcl.Diagnostics)

Source from the content-addressed store, hash-verified

27}
28
29func presetValidationError(diags hcl.Diagnostics) *DiagnosticError {
30 return &DiagnosticError{
31 Message: "Unable to validate presets",
32 Diagnostics: diags,
33 KeyedDiagnostics: make(map[string]hcl.Diagnostics),
34 }
35}
36
37type DiagnosticError struct {
38 // Message is the human-readable message that will be returned to the user.

Callers 1

CheckPresetsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected