Property LastFailure
- Namespace
- MailFathom.Application.Jobs.DeadLetters
- Assembly
- MailFathom.Application.dll
LastFailure
Gets the classification and reason of the failure that ended the job, and null where the row carries none.
public JobFailureRecord? LastFailure { get; init; }
Property Value
Remarks
Every dead letter the executor writes carries one, because the write that produces the state is the write that records the failure. It is nullable because the two columns are, and a row that somehow reached this state without one is better reported as a job with no recorded reason than refused on the way to an operator who is looking at it precisely because something went wrong.