(envName string)
| 100 | } |
| 101 | |
| 102 | func ErrorEnvironmentNotFound(envName string) error { |
| 103 | return errors.WithStack(&errors.Error{ |
| 104 | Kind: ErrEnvironmentNotFound, |
| 105 | Message: fmt.Sprintf("unable to find environment named \"%s\"", envName), |
| 106 | }) |
| 107 | } |
| 108 | |
| 109 | func ErrorFieldNotFoundInEnvironment(fieldName string, envName string) error { |
| 110 | return errors.WithStack(&errors.Error{ |
no test coverage detected