Table of Contents

Class ClientSessionStoreUnavailableException

Namespace
MailFathom.Application.Access.Sessions
Assembly
MailFathom.Application.dll

Indicates that the deployment's client sessions could not be reached, so the request was refused as unavailable rather than as unauthenticated.

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

Remarks

It exists so the failure crosses IClientSessionStore as this system's own rather than as the provider's, which is the arrangement ClientAssertionSpendUnrecordableException is under and for the same reason: the port is an application contract and its callers include an authentication handler that has admitted nobody yet, so a driver's exception reaching there would put a database type and a server's message on the path answering an unauthenticated caller.

What the caller does about it is refuse as unavailable, never as unauthenticated. A client meets 401 by clearing what it holds and asking for a password, so answering a database that could not be reached that way would turn a blip into a deployment-wide sign-out and lose every session the outage covered. The distinction is the whole reason this failure is raised rather than read as an unknown session.

Constructors

ClientSessionStoreUnavailableException(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.