MCPcopy
hub / github.com/cortexlabs/cortex / ErrorNoAvailableEnvironment

Function ErrorNoAvailableEnvironment

cli/cmd/errors.go:88–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86}
87
88func ErrorNoAvailableEnvironment() error {
89 return errors.WithStack(&errors.Error{
90 Kind: ErrNoAvailableEnvironment,
91 Message: "no environments are configured; run `cortex cluster up` to create a cluster, or run `cortex env configure` to connect to an existing cluster",
92 })
93}
94
95func ErrorEnvironmentNotSet() error {
96 return errors.WithStack(&errors.Error{

Callers 2

getEnvFromFlagFunction · 0.85
get.goFile · 0.85

Calls 1

WithStackFunction · 0.92

Tested by

no test coverage detected