MCPcopy Index your code
hub / github.com/cortexlabs/cortex / ErrorEnvironmentNotFound

Function ErrorEnvironmentNotFound

cli/cmd/errors.go:102–107  ·  view source on GitHub ↗
(envName string)

Source from the content-addressed store, hash-verified

100}
101
102func ErrorEnvironmentNotFound(envName string) error {
103 return errors.WithStack(&errors.Error{
104 Kind: ErrEnvironmentNotFound,
105 Message: fmt.Sprintf("unable to find environment named \"%s\"", envName),
106 })
107}
108
109func ErrorFieldNotFoundInEnvironment(fieldName string, envName string) error {
110 return errors.WithStack(&errors.Error{

Callers 1

MustGetOperatorConfigFunction · 0.85

Calls 1

WithStackFunction · 0.92

Tested by

no test coverage detected