NotInDomain returns true if and only if the error's domain is not one of the specified domains.
(err error, doms ...Domain)
| 45 | // NotInDomain returns true if and only if the error's |
| 46 | // domain is not one of the specified domains. |
| 47 | func NotInDomain(err error, doms ...Domain) bool { return domains.NotInDomain(err, doms...) } |
| 48 | |
| 49 | // EnsureNotInDomain checks whether the error is in the given domain(s). |
| 50 | // If it is, the given constructor if provided is called to construct |
nothing calls this directly
no test coverage detected
searching dependent graphs…