Table of Contents

Class UnreachedDataLocation

Namespace
Excalibur.Compliance
Assembly
Excalibur.Compliance.Abstractions.dll

A place the erasure did NOT reach, recorded on the certificate so a partly-successful erasure still produces evidence of what was and was not done.

public sealed record UnreachedDataLocation : IEquatable<UnreachedDataLocation>
Inheritance
UnreachedDataLocation
Implements
Inherited Members

Remarks

This is not an exception, and the distinction is the whole point of the type. An ErasureException records data lawfully RETAINED and carries the basis for retaining it. This records data that was simply not reached, for which no lawful basis is claimed. The two must never be confused: recording an unmet obligation as an exception would present a failure as a legal exemption.

A location appears in one list or the other. Never both.

Properties

ControllerObligation

What the controller must now do, described as an outcome rather than as an API call.

public required string ControllerObligation { get; init; }

Property Value

string

Remarks

Never name a method here. This document is signed and retained for years; the procedure is already carried on surfaces that can be corrected afterwards — the operation's own error text, the logs, and the published documentation — and those are where it belongs. An instruction frozen into a signed artifact cannot be amended when the operation is renamed, and worse, cannot be amended if a later change makes the instruction impossible to carry out. What survives both is the obligation and its cost; the procedure does not.

LawfulBasisClaimed

Always false. No lawful basis is claimed for data in this list.

public bool LawfulBasisClaimed { get; }

Property Value

bool

Remarks

Stated as a field rather than left to the absence of a basis, and deliberately not settable. An absent basis is ambiguous — someone reading this adversarially could argue the silence implied one. An explicit false cannot be read that way, and because the property has no setter the document cannot be made to claim otherwise.

Mechanism

Why it was not reached, in one sentence describing the MECHANISM.

public required string Mechanism { get; init; }

Property Value

string

Remarks

Not an error code and not an exception message. Someone auditing this asks how the data survived, not which call failed — for example, that erasure rewrites stored events in place and does not notify derived read models, so a read model that already folded the subject's events keeps them until it is replayed.

RemediationCost

What discharging the obligation costs the controller operationally.

public required RemediationCost RemediationCost { get; init; }

Property Value

RemediationCost

StoreKind

The kind of store the data remains in.

public required string StoreKind { get; init; }

Property Value

string

Remarks

The store kind's own value, so a kind an application defined for itself names itself here rather than being flattened to "other".