Constructor MailFathomException
- Namespace
- MailFathom.Domain.Failures
- Assembly
- MailFathom.Domain.dll
MailFathomException(string)
Initializes a new failure with a message safe to surface.
protected MailFathomException(string operatorSafeMessage)
Parameters
operatorSafeMessagestringA message free of credentials, hosts, remote paths, message content, and personal data.
MailFathomException(string, Exception)
Initializes a new failure with a message safe to surface and the failure that revealed it.
protected MailFathomException(string operatorSafeMessage, Exception innerException)
Parameters
operatorSafeMessagestringA message free of credentials, hosts, remote paths, message content, and personal data.
innerExceptionExceptionThe failure this one was raised for.
Remarks
An inner exception is diagnostic detail for a log. A boundary that serializes a failure reports ErrorCode and never reaches into it.