Skip to content

ScenarioVerificationException

NexusLabs.Needlr.AgentFramework.Testing

ScenarioVerificationException Class

Thrown when a scenario's Verify(IWorkspace, IAgentRunDiagnostics) method detects a failure.

public sealed class ScenarioVerificationException : System.Exception

Inheritance System.Object 🡒 System.Exception 🡒 ScenarioVerificationException

Constructors

ScenarioVerificationException(string, string) Constructor

public ScenarioVerificationException(string scenarioName, string message);

Parameters

scenarioName System.String

Name of the scenario.

message System.String

Description of the verification failure.

Properties

ScenarioVerificationException.ScenarioName Property

Gets the scenario that failed.

public string ScenarioName { get; }

Property Value

System.String