MCPcopy Index your code
hub / github.com/git-lfs/git-lfs / Errorf

Function Errorf

errors/errors.go:68–70  ·  view source on GitHub ↗

Errorf formats according to a format specifier and returns the string as a value that satisfies error. Errorf also records the stack trace at the point it was called.

(format string, args ...interface{})

Source from the content-addressed store, hash-verified

66// as a value that satisfies error.
67// Errorf also records the stack trace at the point it was called.
68func Errorf(format string, args ...interface{}) error {
69 return errors.Errorf(format, args...)
70}
71
72// Wrap wraps an error with an additional message.
73func Wrap(err error, msg string) error {

Callers 1

Calls 1

ErrorfMethod · 0.65

Tested by

no test coverage detected