MCPcopy Create free account
hub / github.com/git-bug/git-bug / HandleError

Function HandleError

commands/completion/helper_completion.go:17–19  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

15type ValidArgsFunction func(cmd *cobra.Command, args []string, toComplete string) (completions []string, directives cobra.ShellCompDirective)
16
17func HandleError(err error) (completions []string, directives cobra.ShellCompDirective) {
18 return nil, cobra.ShellCompDirectiveError
19}
20
21func Bridge(env *execenv.Env) ValidArgsFunction {
22 return func(cmd *cobra.Command, args []string, toComplete string) (completions []string, directives cobra.ShellCompDirective) {

Callers 10

BugCompletionFunction · 0.92
bugWithBackendFunction · 0.92
BugAndLabelsCompletionFunction · 0.92
BridgeFunction · 0.85
BridgeAuthFunction · 0.85
GitRemoteFunction · 0.85
LabelFunction · 0.85
LsFunction · 0.85
UserFunction · 0.85
UserForQueryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected