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