HandledInDomain creates an error in the given domain and retains the details of the given original error as context for debugging. The original error is hidden and does not become a "cause" for the new error. The original's error _message_ is preserved. See the documentation of `WithDomain()` and `
(err error, domain Domain)
| 67 | // |
| 68 | // See the documentation of `WithDomain()` and `errors.Handled()` for details. |
| 69 | func HandledInDomain(err error, domain Domain) error { return domains.HandledInDomain(err, domain) } |
| 70 | |
| 71 | // HandledInDomainWithMessage is like HandledWithMessage but with a domain. |
| 72 | func HandledInDomainWithMessage(err error, domain Domain, msg string) error { |
nothing calls this directly
no test coverage detected
searching dependent graphs…