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

Function Cause

errutil_api.go:75–75  ·  view source on GitHub ↗

Cause aliases UnwrapAll() for compatibility with github.com/pkg/errors.

(err error)

Source from the content-addressed store, hash-verified

73
74// Cause aliases UnwrapAll() for compatibility with github.com/pkg/errors.
75func Cause(err error) error { return errbase.UnwrapAll(err) }
76
77// Unwrap aliases UnwrapOnce() for compatibility with xerrors.
78func Unwrap(err error) error { return errbase.UnwrapOnce(err) }

Callers

nothing calls this directly

Calls 1

UnwrapAllFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…