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

Function newVarIsNotSetError

error.go:120–122  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

118}
119
120func newVarIsNotSetError(key string) error {
121 return VarIsNotSetError{key}
122}
123
124func (e VarIsNotSetError) Error() string {
125 return fmt.Sprintf(`required environment variable %q is not set`, e.Key)

Callers 1

getFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected