MCPcopy
hub / github.com/cortexlabs/cortex / ErrorFieldNotFoundInEnvironment

Function ErrorFieldNotFoundInEnvironment

cli/cmd/errors.go:109–114  ·  view source on GitHub ↗
(fieldName string, envName string)

Source from the content-addressed store, hash-verified

107}
108
109func ErrorFieldNotFoundInEnvironment(fieldName string, envName string) error {
110 return errors.WithStack(&errors.Error{
111 Kind: ErrFieldNotFoundInEnvironment,
112 Message: fmt.Sprintf("%s was not found in %s environment", fieldName, envName),
113 })
114}
115
116func ErrorInvalidOperatorEndpoint(endpoint string) error {
117 return errors.WithStack(&errors.Error{

Callers 1

MustGetOperatorConfigFunction · 0.85

Calls 1

WithStackFunction · 0.92

Tested by

no test coverage detected