GetDomain extracts the domain of the given error, or NoDomain if the error's cause does not have a domain annotation.
(err error)
| 76 | // GetDomain extracts the domain of the given error, or NoDomain if |
| 77 | // the error's cause does not have a domain annotation. |
| 78 | func GetDomain(err error) Domain { return domains.GetDomain(err) } |
nothing calls this directly
no test coverage detected
searching dependent graphs…