(apiName string, apiID string)
| 69 | } |
| 70 | |
| 71 | func 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 | |
| 78 | func ErrorCannotChangeKindOfDeployedAPI(name string, newKind, prevKind userconfig.Kind) error { |
| 79 | return errors.WithStack(&errors.Error{ |
no test coverage detected