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

Struct EmptyVarError

error.go:134–136  ·  view source on GitHub ↗

EmptyVarError occurs when the variable which must be not empty is existing but has an empty value

Source from the content-addressed store, hash-verified

132
133// EmptyVarError occurs when the variable which must be not empty is existing but has an empty value
134type EmptyVarError struct {
135 Key string
136}
137
138func newEmptyVarError(key string) error {
139 return EmptyVarError{key}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected