MCPcopy
hub / github.com/cli/cli / FlagErrorWrap

Function FlagErrorWrap

pkg/cmdutil/errors.go:17–17  ·  view source on GitHub ↗

FlagErrorWrap returns a new FlagError that wraps the specified error.

(err error)

Source from the content-addressed store, hash-verified

15
16// FlagErrorWrap returns a new FlagError that wraps the specified error.
17func FlagErrorWrap(err error) error { return &FlagError{err} }
18
19// A *FlagError indicates an error processing command-line flags or other arguments.
20// Such errors cause the application to display the usage message.

Callers 4

NewCmdViewFunction · 0.92
NewCmdEditFunction · 0.92
rootFlagErrorFuncFunction · 0.92
FlagErrorfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected