MCPcopy Index your code
hub / github.com/cockroachdb/errors / Errorf

Function Errorf

errutil_api.go:70–72  ·  view source on GitHub ↗

Errorf aliases Newf().

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

Source from the content-addressed store, hash-verified

68
69// Errorf aliases Newf().
70func Errorf(format string, args ...interface{}) error {
71 return errutil.NewWithDepthf(1, format, args...)
72}
73
74// Cause aliases UnwrapAll() for compatibility with github.com/pkg/errors.
75func Cause(err error) error { return errbase.UnwrapAll(err) }

Callers

nothing calls this directly

Calls 1

NewWithDepthfFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…