Table of Contents

Enum MailAnsweringRunOutcome

Namespace
MailFathom.Domain.Answering.Audit
Assembly
MailFathom.Domain.dll

States how one answering run ended, at the granularity somebody reading the record months later acts on.

public enum MailAnsweringRunOutcome

Fields

AnswerEmpty = 1

The run reached the provider and the provider ended it without producing any text.

Answered = 0

The run produced the answer the caller received.

Cancelled = 4

The caller cancelled, or the host began shutting down, before the run finished.

Failed = 5

The run ended in a way none of the above names.

ProviderFailed = 2

A provider call failed and ended the run before an answer was written.

RunBudgetExhausted = 3

The run reached what one question may spend and was stopped before an answer was written.

Remarks

Bounded on purpose, and bounded to what an ending is rather than to what caused it. A provider's own classification of a failed call says which remote condition occurred, which is a question about the endpoint and is answered by the log and the provider health gauge; this says whether the person who asked received an answer, which is the question the record exists for.

A run refused before it began — this deployment answers no questions, or the period has spent its allowance — reaches no value here, because no run happened to record.