MCPcopy Index your code
hub / github.com/helm/helm / parseTemplateNoTemplateError

Function parseTemplateNoTemplateError

pkg/engine/engine.go:388–393  ·  view source on GitHub ↗

Special case: "template: no template %q associated with template %q" Matches https://cs.opensource.google/go/go/+/refs/tags/go1.23.6:src/text/template/exec.go;l=191

(s string, remainder string)

Source from the content-addressed store, hash-verified

386// Special case: "template: no template %q associated with template %q"
387// Matches https://cs.opensource.google/go/go/+/refs/tags/go1.23.6:src/text/template/exec.go;l=191
388func parseTemplateNoTemplateError(s string, remainder string) (TraceableError, bool) {
389 if strings.HasPrefix(remainder, "no template ") {
390 return TraceableError{message: s}, true
391 }
392 return TraceableError{}, false
393}
394
395// Simple form: "<templateName>: <errMsg>"
396// Use LastIndex to avoid splitting colons within line:col info.

Callers 2

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…