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

Function UnwrapAll

errbase_api.go:34–34  ·  view source on GitHub ↗

UnwrapAll accesses the root cause object of the error. If the error has no cause (leaf error), it is returned directly.

(err error)

Source from the content-addressed store, hash-verified

32// UnwrapAll accesses the root cause object of the error.
33// If the error has no cause (leaf error), it is returned directly.
34func UnwrapAll(err error) error { return errbase.UnwrapAll(err) }
35
36// EncodedError is the type of an encoded (and protobuf-encodable) error.
37type EncodedError = errbase.EncodedError

Callers 4

TestGrpcFunction · 0.92
IsPermissionFunction · 0.92
IsExistFunction · 0.92
IsNotExistFunction · 0.92

Calls 1

UnwrapAllFunction · 0.92

Tested by 1

TestGrpcFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…