MCPcopy Create free account
hub / github.com/cortexlabs/cortex / ErrorCannotSetStructField

Function ErrorCannotSetStructField

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

Source from the content-addressed store, hash-verified

359}
360
361func ErrorCannotSetStructField() error {
362 return errors.WithStack(&errors.Error{
363 Kind: ErrCannotSetStructField,
364 Message: "unable to set struct field",
365 })
366}
367
368func ErrorCannotBeNull(isRequired bool) error {
369 msg := "cannot be null"

Callers 3

setFieldFunction · 0.85
setFirstFieldFunction · 0.85
setFieldNilFunction · 0.85

Calls 1

WithStackFunction · 0.92

Tested by

no test coverage detected