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

Function ErrorCannotBeEmpty

pkg/lib/configreader/errors.go:390–395  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

388}
389
390func ErrorCannotBeEmpty() error {
391 return errors.WithStack(&errors.Error{
392 Kind: ErrCannotBeEmpty,
393 Message: "cannot be empty",
394 })
395}
396
397func ErrorMustBeDefined(validValues ...interface{}) error {
398 msg := "must be defined"

Callers 11

validateFloat64ListFunction · 0.85
validateInt32ListFunction · 0.85
validateInterfaceMapFunction · 0.85
validateBoolListFunction · 0.85
ValidateStringValFunction · 0.85
validateIntListFunction · 0.85
validateInt64ListFunction · 0.85
validateStringMapFunction · 0.85
validateInterfaceMapListFunction · 0.85
validateStringListFunction · 0.85
validateFloat32ListFunction · 0.85

Calls 1

WithStackFunction · 0.92

Tested by

no test coverage detected