using System;

// ReSharper disable PublicConstructorInAbstractClass
// ReSharper disable UnusedAutoPropertyAccessor.Global

namespace NodePipeline.Configuration.Abstractions.Exceptions;

public abstract class PipelineConfigurationLoadException : Exception
{
    public PipelineConfigurationLoadException(string pipelineName, string message) : base(message)
    {
        PipelineName = pipelineName ?? throw new ArgumentNullException(nameof(pipelineName));
    }

    public string PipelineName { get; }
}