MCPcopy
hub / github.com/garethgeorge/backrest / AddCmdOutputToError

Method AddCmdOutputToError

pkg/restic/error.go:94–96  ·  view source on GitHub ↗
(cmd *exec.Cmd, err error)

Source from the content-addressed store, hash-verified

92}
93
94func (e *errorMessageCollector) AddCmdOutputToError(cmd *exec.Cmd, err error) error {
95 return newCmdError(cmd, e.AddOutputToError(err))
96}

Callers 9

executeWithJSONOutputMethod · 0.95
ExistsMethod · 0.95
initMethod · 0.95
ForgetSnapshotMethod · 0.95
DumpMethod · 0.95
runSimpleCommandMethod · 0.95
ListDirectoryMethod · 0.95
UnlockMethod · 0.95
AddTagsMethod · 0.95

Calls 2

AddOutputToErrorMethod · 0.95
newCmdErrorFunction · 0.85

Tested by

no test coverage detected