Table of Contents

Class ClientAssertionSpendUnrecordableException

Namespace
MailFathom.Application.Access.Credentials
Assembly
MailFathom.Application.dll

Indicates that a client assertion could not be recorded as served, so the request presenting it was refused.

public sealed class ClientAssertionSpendUnrecordableException : MailFathomException, ISerializable
Inheritance
ClientAssertionSpendUnrecordableException
Implements
Inherited Members

Remarks

It exists so the failure crosses IClientAssertionSpendStore as this system's own rather than as the provider's. The port is an application contract and the caller is an authentication handler, so an adapter's exception reaching it would put a database driver's type and a server's own message on the path that answers an unauthenticated caller.

One failure covers a database that could not be reached, a statement that timed out, and a value the server refused, because all three are the same thing to the layer above: the deployment cannot say whether this identifier has been served. What that layer does about it is refuse, which is why the distinction between them belongs in InnerException for an operator's log rather than in a code the caller would branch on.

The message names the record and the operator's next step. It carries no connection string, no credential, no identifier a client minted, and nothing the server said, all of which stay reachable through the inner exception.

Constructors

ClientAssertionSpendUnrecordableException(string, Exception)

Initializes a new failure over the provider failure that revealed it.

Properties

ErrorCode

Gets the stable code identifying this failure to a boundary that must report it without naming a type.