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

Function NewWrapElideCauses

errbase/format_error_internal_test.go:44–49  ·  view source on GitHub ↗
(override string, errors ...error)

Source from the content-addressed store, hash-verified

42}
43
44func NewWrapElideCauses(override string, errors ...error) error {
45 return &wrapElideCauses{
46 override: override,
47 causes: errors,
48 }
49}
50
51func (e *wrapElideCauses) Unwrap() []error {
52 return e.causes

Callers 1

TestFormatErrorInternalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…