namespace ZB.MOM.WW.OtOpcUa.Configuration.Validation;

/// <summary>
///     One validation failure. <see cref="Code"/> is a stable machine-readable symbol
///     (<c>BadCrossClusterNamespaceBinding</c>, <c>UnsSegmentInvalid</c>, …). <see cref="Context"/>
///     carries the offending logical ID so the Admin UI can link straight to the row.
/// </summary>
public sealed record ValidationError(string Code, string Message, string? Context = null);
