MCPcopy
hub / github.com/helm/helm / Error

Method Error

pkg/chart/common/util/jsonschema.go:207–216  ·  view source on GitHub ↗

Error prints the error message

()

Source from the content-addressed store, hash-verified

205
206// Error prints the error message
207func (e JSONSchemaValidationError) Error() string {
208 errStr := e.embeddedErr.Error()
209
210 // This string prefixes all of our error details. Further up the stack of helm error message
211 // building more detail is provided to users. This is removed.
212 errStr = strings.TrimPrefix(errStr, "jsonschema validation failed with 'file:///values.schema.json#'\n")
213
214 // The extra new line is needed for when there are sub-charts.
215 return errStr + "\n"
216}

Callers 11

TestHTTPURLLoader_LoadFunction · 0.45
TestCoalesceValuesFunction · 0.45
TestMergeValuesFunction · 0.45
TestCoalesceTablesFunction · 0.45
TestMergeTablesFunction · 0.45
ValidateAgainstSchemaFunction · 0.45
TestToRenderValuesFunction · 0.45

Calls

no outgoing calls

Tested by 10

TestHTTPURLLoader_LoadFunction · 0.36
TestCoalesceValuesFunction · 0.36
TestMergeValuesFunction · 0.36
TestCoalesceTablesFunction · 0.36
TestMergeTablesFunction · 0.36
TestToRenderValuesFunction · 0.36