using System;
namespace RudderSdk.Core;
/// Payload of .
public sealed class ScenarioFailedEvent
{
internal ScenarioFailedEvent(PlanRun run, string nodeId, Exception exception)
{
Run = run;
NodeId = nodeId;
Exception = exception;
}
/// The failed run.
public PlanRun Run { get; }
/// Node the failure happened at.
public string NodeId { get; }
/// The error that failed the run.
public Exception Exception { get; }
}