Method NotASearch
- Namespace
- MailFathom.Application.Contacts.Failures
- Assembly
- MailFathom.Application.dll
NotASearch(Exception)
Refuses search text the book cannot look anybody up by.
public static ContactQueryInvalidException NotASearch(Exception cause)
Parameters
causeExceptionThe validation failure the domain value raised, kept as the inner exception.
Returns
- ContactQueryInvalidException
The failure to raise.
Remarks
The cause travels as the inner exception, where an operator reads it and no client does. It names no value either — the domain refusals this wraps state the rule rather than the text — but it is kept inside the boundary regardless, because that is where an inner exception belongs whatever it happens to say.