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

Method Error

pkg/cmd/root/root.go:61–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59}
60
61func (ae *AuthError) Error() string {
62 return ae.err.Error()
63}
64
65func NewCmdRoot(f *cmdutil.Factory, telemetry ghtelemetry.InvocationRecorder, version, buildDate string) (*cobra.Command, error) {
66 io := f.IOStreams

Callers 15

TestListFunction · 0.45
TestSearchFunction · 0.45
TestListCategoriesFunction · 0.45
TestGetByNumberFunction · 0.45
TestGetWithCommentsFunction · 0.45
TestGetCommentRepliesFunction · 0.45
TestCreateFunction · 0.45
TestListLabelsFunction · 0.45
TestEditDiscussionLabelsFunction · 0.45
TestUpdateFunction · 0.45
TestAddCommentFunction · 0.45
TestUpdateCommentFunction · 0.45

Calls

no outgoing calls

Tested by 15

TestListFunction · 0.36
TestSearchFunction · 0.36
TestListCategoriesFunction · 0.36
TestGetByNumberFunction · 0.36
TestGetWithCommentsFunction · 0.36
TestGetCommentRepliesFunction · 0.36
TestCreateFunction · 0.36
TestListLabelsFunction · 0.36
TestEditDiscussionLabelsFunction · 0.36
TestUpdateFunction · 0.36
TestAddCommentFunction · 0.36
TestUpdateCommentFunction · 0.36