Skip to main content

MigrationError

  • Namespace: PPDS.Migration.Progress
  • Assembly: PPDS.Migration
  • Kind: Class

Summary

Error information from a migration operation. Contains RecordId (GUID) for correlation but no record data to avoid PII exposure.

Members

Properties

Diagnostics

IReadOnlyList<BatchFailureDiagnostic> Diagnostics { get; set; }

Gets or sets diagnostics identifying which record(s) caused the batch failure.

EntityLogicalName

string EntityLogicalName { get; set; }

Gets or sets the entity logical name.

ErrorCode

Nullable<int> ErrorCode { get; set; }

Gets or sets the Dataverse error code.

Message

string Message { get; set; }

Gets or sets a safe error message (no PII).

Phase

MigrationPhase Phase { get; set; }

Gets or sets the phase where the error occurred.

RecordId

Nullable<Guid> RecordId { get; set; }

Gets or sets the record ID (GUID). This is a unique identifier, not PII.

RecordIndex

Nullable<int> RecordIndex { get; set; }

Gets or sets the record index (position in batch).

Timestamp

DateTime Timestamp { get; set; }

Gets or sets the timestamp when the error occurred.