Class ErasureOperationException
- Namespace
- Excalibur.Compliance
- Assembly
- Excalibur.Compliance.Abstractions.dll
Exception thrown when an erasure operation fails.
public sealed class ErasureOperationException : ApiException, ISerializable
- Inheritance
-
ErasureOperationException
- Implements
- Inherited Members
Constructors
ErasureOperationException()
Initializes a new instance of the ErasureOperationException class.
public ErasureOperationException()
ErasureOperationException(string)
Initializes a new instance of the ErasureOperationException class with a message.
public ErasureOperationException(string message)
Parameters
messagestringThe error message.
ErasureOperationException(string, Exception?)
Initializes a new instance of the ErasureOperationException class with a message and inner exception.
public ErasureOperationException(string message, Exception? innerException)
Parameters
Properties
Reason
Gets or sets the reason for the failure.
public ErasureFailureReason Reason { get; init; }
Property Value
RequestId
Gets or sets the request ID associated with the failed operation.
public Guid? RequestId { get; init; }
Property Value
- Guid?
Methods
BlockedByLegalHold(Guid, Guid, string)
Creates an exception for a legal hold block.
public static ErasureOperationException BlockedByLegalHold(Guid requestId, Guid holdId, string caseReference)
Parameters
Returns
KeyDeletionFailed(Guid, string, Exception?)
Creates an exception for a key deletion failure.
public static ErasureOperationException KeyDeletionFailed(Guid requestId, string keyId, Exception? inner = null)
Parameters
Returns
ValidationFailed(Guid, string)
Creates an exception for a validation failure.
public static ErasureOperationException ValidationFailed(Guid requestId, string message)
Parameters
Returns
VerificationFailed(Guid, string)
Creates an exception for a verification failure.
public static ErasureOperationException VerificationFailed(Guid requestId, string message)