MCPcopy
hub / github.com/matryer/xbar / Error

Method Error

pkg/plugins/plugin.go:382–387  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

380}
381
382func (e errExec) Error() string {
383 if e.Stderr != "" {
384 return e.err.Error() + ": " + e.Stderr
385 }
386 return e.err.Error()
387}
388
389// stringToItems turns a string into one or more Item objects,
390// breaking long strings down effectively wrapping them.

Callers 15

TestParseParamsFunction · 0.45
TestParseErrorsFunction · 0.45
TestSetRefreshIntervalFunction · 0.45
TestBadColorsFunction · 0.45
OnErrMethod · 0.45
ParseFilenameIntervalFunction · 0.45
RefreshAllMethod · 0.45
newXbarMenuMethod · 0.45
clearCacheMethod · 0.45
handleIncomingURLMethod · 0.45

Calls

no outgoing calls

Tested by 6

TestParseParamsFunction · 0.36
TestParseErrorsFunction · 0.36
TestSetRefreshIntervalFunction · 0.36
TestBadColorsFunction · 0.36