Class UserSettingsUnreadableException
- Namespace
- MailFathom.Infrastructure.Persistence.Users
- Assembly
- MailFathom.Infrastructure.dll
Indicates that one user's persisted record could not be read.
public sealed class UserSettingsUnreadableException : MailFathomException, ISerializable
- Inheritance
-
UserSettingsUnreadableException
- Implements
- Inherited Members
Remarks
A user this deployment holds no record of is not this: that is an absence the reader reports as one, because a caller acting for somebody who was never provisioned is an ordinary answer. What this covers is a record that could not be handed on — a document past what this build binds, which the statement refuses rather than transfers, and every way the database itself declines to answer the read.
The message is the operator's, so it names the user's identifier, the limit, or the place a correction is made, and never the document beside it, which is that person's configuration rather than a diagnostic. What the driver said is carried as the inner failure rather than in the message, because a server's own text can name the database, the role, or the table.
Constructors
- UserSettingsUnreadableException(string)
Initializes a new failure naming what could not be read and what to do about it.
- UserSettingsUnreadableException(string, Exception)
Initializes a new failure naming what could not be read, over the failure that refused it.
Properties
- ErrorCode
Gets the stable code identifying this failure to a boundary that must report it without naming a type.