<PackageReference Include="NUnit" Version="3.8.0" />

ResultStateException

public abstract class ResultStateException : Exception
Abstract base for Exceptions that terminate a test and provide a ResultState.
using NUnit.Framework.Interfaces; using System; namespace NUnit.Framework { public abstract class ResultStateException : Exception { public abstract ResultState ResultState { get; } public ResultStateException(string message) : base(message) { } public ResultStateException(string message, Exception inner) : base(message, inner) { } } }