NodePipeline/NodePipeline.Abstractions/Exceptions/NodeFactory/NodeNotFoundException.cs
2026-01-02 20:55:25 +03:00

29 lines
771 B
C#

using System;
// ReSharper disable UnusedAutoPropertyAccessor.Global
namespace NodePipeline.Abstractions.Exceptions.NodeFactory;
public class NodeNotFoundException : PipelineException
{
public NodeNotFoundException(string pipelineId, string nodeType, string nodeId)
: base(pipelineId, Constants.Exceptions.NodeFactory.NodeWasNotInitializedException)
{
NodeType = nodeType;
NodeId = nodeId;
}
public string NodeType { get; }
public string NodeId { get; }
}
public class NodeTypeNotFoundException : Exception
{
public NodeTypeNotFoundException(string nodeType)
: base(Constants.Exceptions.NodeFactory.NodeWasNotInitializedException)
{
NodeType = nodeType;
}
public string NodeType { get; }
}