Class SettingsPolicyUnreadableException
- Namespace
- MailFathom.Infrastructure.Persistence.Policies
- Assembly
- MailFathom.Infrastructure.dll
Indicates that the settings policy one scope stores could not be handed on.
public sealed class SettingsPolicyUnreadableException : MailFathomException, ISerializable
- Inheritance
-
SettingsPolicyUnreadableException
- Implements
- Inherited Members
Remarks
A scope that stores no policy is not this: that is read as a policy stating nothing. What this covers is a row holding a document past what this build reads a policy from, which the statement refuses rather than transfers. No write through MailFathom produces one, so it is a row written beside it — by hand, or restored from a build that read more.
Raised rather than returned, because no caller between the statement and the operator can act on it: the policy cannot be opened to be corrected through the route that was asked for it. The message names the scope, the size, and the limit, and never any part of the document.
Constructors
- SettingsPolicyUnreadableException(string)
Initializes a new failure naming which policy could not be read and what to do about it.
Properties
- ErrorCode
Gets the stable code identifying this failure to a boundary that must report it without naming a type.