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

Function wrapCLIError

cmd/md2wechat/main.go:156–158  ·  view source on GitHub ↗
(code string, err error, message string)

Source from the content-addressed store, hash-verified

154}
155
156func wrapCLIError(code string, err error, message string) error {
157 return &cliError{Code: code, Message: message, Err: err}
158}
159
160func extractCLIError(err error) (*cliError, bool) {
161 var cliErr *cliError

Callers 15

runPreviewFunction · 0.85
runConvertFunction · 0.85
runTestDraftFunction · 0.85
runBrandInitFunction · 0.85
runBrandShowFunction · 0.85
runInspectFunction · 0.85
skills.goFile · 0.85
runHumanizeFunction · 0.85
runCapabilitiesFunction · 0.85
discovery.goFile · 0.85
runCreateImagePostFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected