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

Function ErrorAPIIDNotFound

pkg/operator/resources/errors.go:71–76  ·  view source on GitHub ↗
(apiName string, apiID string)

Source from the content-addressed store, hash-verified

69}
70
71func ErrorAPIIDNotFound(apiName string, apiID string) error {
72 return errors.WithStack(&errors.Error{
73 Kind: ErrAPIIDNotFound,
74 Message: fmt.Sprintf("%s with id %s has never been deployed", apiName, apiID),
75 })
76}
77
78func ErrorCannotChangeKindOfDeployedAPI(name string, newKind, prevKind userconfig.Kind) error {
79 return errors.WithStack(&errors.Error{

Callers 1

GetAPIByIDFunction · 0.85

Calls 1

WithStackFunction · 0.92

Tested by

no test coverage detected