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

Method Error

error.go:124–126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

122}
123
124func (e VarIsNotSetError) Error() string {
125 return fmt.Sprintf(`required environment variable %q is not set`, e.Key)
126}
127
128// EmptyEnvVarError occurs when the variable which must be not empty is existing but has an empty value
129//

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected