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

Function Handled

domains/domains.go:97–99  ·  view source on GitHub ↗

Handled creates a handled error in the implicit domain (see PackageDomain() below) of its caller. See the documentation of `barriers.Handled()` for details.

(err error)

Source from the content-addressed store, hash-verified

95//
96// See the documentation of `barriers.Handled()` for details.
97func Handled(err error) error {
98 return HandledInDomain(err, PackageDomainAtDepth(1))
99}
100
101// Handledf with format and args can be implemented similarly.
102

Callers 2

TestHandledFunction · 0.92
datadriven_test.goFile · 0.92

Calls 2

HandledInDomainFunction · 0.70
PackageDomainAtDepthFunction · 0.70

Tested by 1

TestHandledFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…