MCPcopy Create free account
hub / github.com/caarlos0/env / newLoadFileContentError

Function newLoadFileContentError

error.go:153–155  ·  view source on GitHub ↗
(filename, key string, err error)

Source from the content-addressed store, hash-verified

151}
152
153func newLoadFileContentError(filename, key string, err error) error {
154 return LoadFileContentError{filename, key, err}
155}
156
157func (e LoadFileContentError) Error() string {
158 return fmt.Sprintf("could not load content of file %q from variable %s: %v", e.Filename, e.Key, e.Err)

Callers 1

getFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected