MCPcopy Index your code
hub / github.com/cortexlabs/cortex / Wrapf

Function Wrapf

pkg/lib/errors/error.go:87–89  ·  view source on GitHub ↗
(err error, template string, params ...string)

Source from the content-addressed store, hash-verified

85}
86
87func Wrapf(err error, template string, params ...string) error {
88 return Wrap(err, fmt.Sprintf(template, params))
89}
90
91// adds to the end of the error message (without adding any whitespace or punctuation)
92func Append(err error, str string) error {

Callers 1

probeContainerMethod · 0.92

Calls 1

WrapFunction · 0.85

Tested by

no test coverage detected