using System.Collections.Generic;

namespace StellaOps.Excititor.Connectors.Abstractions;

/// <summary>
/// Custom validator hook executed after connector options are bound.
/// </summary>
/// <typeparam name="TOptions">Connector-specific options type.</typeparam>
public interface IVexConnectorOptionsValidator<in TOptions>
{
    void Validate(VexConnectorDescriptor descriptor, TOptions options, IList<string> errors);
}
