Table of Contents

Method Classify

Namespace
MailFathom.Application.Jobs.Execution
Assembly
MailFathom.Application.dll

Classify(Exception)

Classifies what a handler raised, and names it in terms safe to store and to log.

JobFailureRecord Classify(Exception failure)

Parameters

failure Exception

The failure the attempt produced.

Returns

JobFailureRecord

The verdict and the operator-safe reason the job's row keeps.

Remarks

The answer is derived from failure types and from what a first-party failure declares about itself, never from an exception message: a library's message may quote the message the job points at.

Exceptions

ArgumentNullException

Thrown when failure is null.