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

Function ErrorHeaderMissing

pkg/operator/endpoints/errors.go:49–54  ·  view source on GitHub ↗
(header string)

Source from the content-addressed store, hash-verified

47}
48
49func ErrorHeaderMissing(header string) error {
50 return errors.WithStack(&errors.Error{
51 Kind: ErrHeaderMissing,
52 Message: fmt.Sprintf("missing %s header", header),
53 })
54}
55
56func ErrorAuthHeaderMissing(header, host, url string) error {
57 return errors.WithStack(&errors.Error{

Callers 1

Calls 1

WithStackFunction · 0.92

Tested by

no test coverage detected