namespace NodePipeline.Abstractions.Models.Validation;

public class NodeFieldValidationResult(ValidationResult result, string? errorMessage)
{
    /// <summary>
    ///     Validation result
    /// </summary>
    public ValidationResult Result { get; } = result;

    /// <summary>
    ///     Validation error message
    /// </summary>
    public string? ErrorMessage { get; } = errorMessage;
}