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

Method Error

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

Source from the content-addressed store, hash-verified

72}
73
74func (e *ItemNotInProjectError) Error() string {
75 return fmt.Sprintf("%s is not an item in project %d; add it first with `gh project item-add`", e.URL, e.ProjectNumber)
76}
77
78// ResolveSingleSelectOptionID resolves optionName to its option ID on a
79// single-select field. It returns a *WrongFieldTypeError if the field is not a

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected