()
| 93 | } |
| 94 | |
| 95 | func ErrorEnvironmentNotSet() error { |
| 96 | return errors.WithStack(&errors.Error{ |
| 97 | Kind: ErrEnvironmentNotSet, |
| 98 | Message: "no environment was provided and the default environment is not set; specify the environment to use via the `-e/--env` flag, or run `cortex env default` to set the default environment", |
| 99 | }) |
| 100 | } |
| 101 | |
| 102 | func ErrorEnvironmentNotFound(envName string) error { |
| 103 | return errors.WithStack(&errors.Error{ |
no test coverage detected