MCPcopy
hub / github.com/cli/cli / Error

Method Error

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

Source from the content-addressed store, hash-verified

58}
59
60func (ae *AuthError) Error() string {
61 return ae.err.Error()
62}
63
64func NewCmdRoot(f *cmdutil.Factory, telemetry ghtelemetry.CommandRecorder, version, buildDate string) (*cobra.Command, error) {
65 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