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

Function HandledInDomainWithMessage

domains_api.go:72–74  ·  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

70
71// HandledInDomainWithMessage is like HandledWithMessage but with a domain.
72func HandledInDomainWithMessage(err error, domain Domain, msg string) error {
73 return domains.HandledInDomainWithMessage(err, domain, msg)
74}
75
76// GetDomain extracts the domain of the given error, or NoDomain if
77// the error's cause does not have a domain annotation.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…