// ReSharper disable UnusedAutoPropertyAccessor.Global

namespace NodePipeline.Abstractions.Exceptions.NodeFactory;

public class PortsTypeMismatchException : PipelineException
{
    public PortsTypeMismatchException(string pipelineId, string inputPortName, string nodeType, string nodeId,
        string outputPortName, string outputPortNodeType, string outputPortNodeId)
        : base(pipelineId, Constants.Exceptions.NodeFactory.NodeWasNotInitializedException)
    {
        InputPortName = inputPortName;
        NodeType = nodeType;
        NodeId = nodeId;
        OutputPortName = outputPortName;
        OutputPortNodeType = outputPortNodeType;
        OutputPortNodeId = outputPortNodeId;
    }

    public string InputPortName { get; }
    public string NodeType { get; }
    public string NodeId { get; }
    public string OutputPortName { get; }
    public string OutputPortNodeType { get; }
    public string OutputPortNodeId { get; }
}