Class MailAnsweringUnavailableException
- Namespace
- MailFathom.Application.Retrieval.AskMail
- Assembly
- MailFathom.Application.dll
The failure raised when a question arrives at a deployment that cannot answer it.
public sealed class MailAnsweringUnavailableException : MailFathomException, ISerializable
- Inheritance
-
MailAnsweringUnavailableException
- Implements
- Inherited Members
Remarks
The tool this failure belongs to is absent from what a deployment advertises while it holds, so a caller ordinarily never meets it. What it covers is the gap between the two: a client that read the tool list a moment before the provider stopped answering, one that remembers a list from an earlier session, and one that calls a tool it was never offered.
It says which of the two states the deployment is in and nothing else. Neither message names an endpoint, a model, a credential, or a provider's answer, because the caller cannot act on any of them and the operator reads them from the health record instead.
Properties
- Availability
Gets what the deployment could do when the question arrived.
- ErrorCode
Gets the stable code identifying this failure to a boundary that must report it without naming a type.
Methods
- NotServed()
Refuses a question on a deployment that answers none.
- TemporarilyUnable()
Refuses a question on a deployment that answers them and currently cannot.