(shell string)
| 250 | } |
| 251 | |
| 252 | func ErrorShellCompletionNotSupported(shell string) error { |
| 253 | return errors.WithStack(&errors.Error{ |
| 254 | Kind: ErrShellCompletionNotSupported, |
| 255 | Message: fmt.Sprintf("shell completion for %s is not supported (only bash and zsh are supported)", shell), |
| 256 | }) |
| 257 | } |
| 258 | |
| 259 | func ErrorNoTerminalWidth() error { |
| 260 | return errors.WithStack(&errors.Error{ |
no test coverage detected