using System;
namespace RudderSdk.Core;
/// Payload of .
public sealed class ScenarioFailedEffect
{
internal ScenarioFailedEffect(string runId, string scenarioId, string nodeId, Exception exception)
{
RunId = runId;
ScenarioId = scenarioId;
NodeId = nodeId;
Exception = exception;
}
/// Server-issued run id.
public string RunId { get; }
/// Scenario id.
public string ScenarioId { get; }
/// Node the failure happened at.
public string NodeId { get; }
/// The error that failed the run.
public Exception Exception { get; }
}