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

Function HandledInDomainWithMessage

domains/domains.go:89–91  ·  view source on GitHub ↗

HandledInDomainWithMessage is like HandledWithMessage but with a domain.

(err error, domain Domain, msg string)

Source from the content-addressed store, hash-verified

87
88// HandledInDomainWithMessage is like HandledWithMessage but with a domain.
89func HandledInDomainWithMessage(err error, domain Domain, msg string) error {
90 return WithDomain(barriers.HandledWithMessage(err, msg), domain)
91}
92
93// Handled creates a handled error in the implicit domain (see
94// PackageDomain() below) of its caller.

Callers 1

Calls 2

HandledWithMessageFunction · 0.92
WithDomainFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…