MCPcopy
hub / github.com/geekjourneyx/md2wechat-skill / newCLIError

Function newCLIError

cmd/md2wechat/main.go:148–150  ·  view source on GitHub ↗
(code, message string)

Source from the content-addressed store, hash-verified

146}
147
148func newCLIError(code, message string) error {
149 return &cliError{Code: code, Message: message}
150}
151
152func newCLIErrorWithDetails(code, message string, details map[string]any, nextActions []string) error {
153 return &cliError{Code: code, Message: message, Details: details, NextActions: nextActions}

Callers 15

runConvertFunction · 0.85
handleAIResultFunction · 0.85
validateConvertConfigFunction · 0.85
validateConfirmModeFunction · 0.85
skills.goFile · 0.85
parseSkillReadTargetFunction · 0.85
discovery.goFile · 0.85
runCreateImagePostFunction · 0.85
runTitleSuggestFunction · 0.85
runListStylesFunction · 0.85

Calls

no outgoing calls

Tested by 1