QualityGateFailedException
NexusLabs.Needlr.AgentFramework.Evaluation¶
QualityGateFailedException Class¶
Thrown by Assert(EvaluationResult[]) when one or more evaluation metrics violate their configured thresholds.
Inheritance System.Object 🡒 System.Exception 🡒 QualityGateFailedException
Constructors¶
QualityGateFailedException(IReadOnlyList<string>) Constructor¶
Creates a new exception from the list of threshold violations.
Parameters¶
violations System.Collections.Generic.IReadOnlyList<System.String>
One or more violation descriptions.
Properties¶
QualityGateFailedException.Violations Property¶
Gets the individual threshold violations that triggered the failure.