Class RootSettingsUnreadableException
- Namespace
- MailFathom.Infrastructure.Persistence.Settings
- Assembly
- MailFathom.Infrastructure.dll
Indicates that the deployment's persisted configuration could not be read.
public sealed class RootSettingsUnreadableException : MailFathomException, ISerializable
- Inheritance
-
RootSettingsUnreadableException
- Implements
- Inherited Members
Remarks
One failure covers a database that could not be reached, a schema that does not carry the table yet, and a row that is not there, because all three are the same thing to the layer above: the configuration source below the operator's overrides cannot say what it contributes. Starting anyway would serve whichever values the files beneath it happen to carry, with nothing in the process saying that a layer was missing.
The message names the table and what an operator does about it. It never carries a connection string, a credential, or any part of the document, which is settings rather than a diagnostic.
Constructors
- RootSettingsUnreadableException(string)
Initializes a new failure naming what could not be read and what to do about it.
- RootSettingsUnreadableException(string, Exception)
Initializes a new failure naming what could not be read, and 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.