MCPcopy Create free account
hub / github.com/cli/cli / Error

Method Error

pkg/cmd/project/shared/queries/resolve.go:50–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48}
49
50func (e *OptionAmbiguousError) Error() string {
51 return fmt.Sprintf("option %q is ambiguous on field %q; multiple options share this name (use --single-select-option-id with one of: %s)", e.Name, e.FieldName, strings.Join(e.Candidates, ", "))
52}
53
54// WrongFieldTypeError is returned when a field resolves by name but its data
55// type does not support the requested operation, e.g. resolving an option name

Callers

nothing calls this directly

Calls 1

JoinMethod · 0.80

Tested by

no test coverage detected