MCPcopy Create free account
hub / github.com/cockroachdb/errors / NewWrapNoElideCauses

Function NewWrapNoElideCauses

errbase/format_error_internal_test.go:82–87  ·  view source on GitHub ↗
(prefix string, errors ...error)

Source from the content-addressed store, hash-verified

80}
81
82func NewWrapNoElideCauses(prefix string, errors ...error) error {
83 return &wrapNoElideCauses{
84 prefix: prefix,
85 causes: errors,
86 }
87}
88
89func (e *wrapNoElideCauses) Unwrap() []error {
90 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…