Table of Contents

Class PersonalDataAnalyzerUnavailableException

Namespace
MailFathom.Application.SensitiveContent.Detection
Assembly
MailFathom.Application.dll

The failure that stops a host whose personal-data scanner is switched on with no analyzer behind it.

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

Remarks

Raised by IPersonalDataAnalyzerProbe while the host is coming up, and by nothing on a serving path. The scanner fails closed, so a deployment reaching this state would refuse every guarded read, derived write, and egress for as long as it ran; refusing to start instead is diagnosed at once, while an instance that logged and carried on is not.

No message here carries the analyzer's address, because a message is what reaches a log and src/AGENTS.md § Failures lists a host name beside a credential among the things one may never carry. Each one names SensitiveContent:PersonalDataAnalyzer:Endpoint instead — the key an operator edits to repair any of these three states, and the one thing they need to be told, since the value is already in the file they would open. The resolved address stays on Endpoint for a caller with somewhere safe to put it. Nor does a message carry anything the analyzer wrote: the status a refusal is reported with is the caller's own rendering of the status code, because a proxy or a wrong service at that address composes both the body and the reason phrase.

Properties

Endpoint

Gets the analyzer address the probe could not get an answer from.

ErrorCode

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

Methods

DetectsNothingFor(string, SensitiveContentCategory)

Refuses to start because the analyzer detects nothing the switched-on categories map onto.

NotReached(string, Exception)

Refuses to start because the configured analyzer could not be reached at all.

Refused(string, string)

Refuses to start because the analyzer answered the probe with a refusal.