MCPcopy
hub / github.com/cli/cli / NoSuchAnswerErr

Function NoSuchAnswerErr

internal/prompter/test.go:175–177  ·  view source on GitHub ↗
(answer string, options []string)

Source from the content-addressed store, hash-verified

173}
174
175func NoSuchAnswerErr(answer string, options []string) error {
176 return fmt.Errorf("no such answer '%s' in [%s]", answer, strings.Join(options, ", "))
177}

Callers 1

IndexForFunction · 0.85

Calls 2

JoinMethod · 0.80
ErrorfMethod · 0.65

Tested by

no test coverage detected