Enum JobFailureClassification
- Namespace
- MailFathom.Application.Jobs
- Assembly
- MailFathom.Application.dll
States whether repeating the work that failed could succeed without anything else changing first.
public enum JobFailureClassification
Fields
Permanent = 1Nothing about repeating the work can change the answer; somebody has to act before it could succeed.
Transient = 0The failure is expected to clear on its own, so the same work is worth attempting again later.
Remarks
The classification is what decides between another attempt and a dead letter, so it is answered before the attempt budget is consulted rather than after it: a permanent failure ends the job on its first attempt instead of spending the budget a fixed number of times to reach the answer it already had.
It is stored on the row as its name, like every other bounded value in this schema, so an operator asking what is stuck reads the verdict beside the reason for it.