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

Function ErrorQueryParamRequired

pkg/operator/endpoints/errors.go:101–106  ·  view source on GitHub ↗
(param string)

Source from the content-addressed store, hash-verified

99 })
100}
101func ErrorQueryParamRequired(param string) error {
102 return errors.WithStack(&errors.Error{
103 Kind: ErrQueryParamRequired,
104 Message: fmt.Sprintf("query param required: %s", param),
105 })
106}
107
108func ErrorPathParamRequired(param string) error {
109 return errors.WithStack(&errors.Error{

Callers 1

getRequiredQueryParamFunction · 0.85

Calls 1

WithStackFunction · 0.92

Tested by

no test coverage detected