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

Function PackageDomain

domains/domains.go:142–144  ·  view source on GitHub ↗

PackageDomain returns an error domain that represents the package of its caller.

()

Source from the content-addressed store, hash-verified

140// PackageDomain returns an error domain that represents the
141// package of its caller.
142func PackageDomain() Domain {
143 return PackageDomainAtDepth(1)
144}
145
146// PackageDomainAtDepth returns an error domain that describes the
147// package at the given call depth.

Callers 3

TestPackageDomainFunction · 0.92
TestHandledFunction · 0.92
dummy_domain.goFile · 0.92

Calls 1

PackageDomainAtDepthFunction · 0.70

Tested by 2

TestPackageDomainFunction · 0.74
TestHandledFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…