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

NUnit.Framework.ResultStateException

public abstract class ResultStateException : Exception
Abstract base for Exceptions that terminate a test and provide a ResultState.
namespace NUnit.Framework { public abstract class ResultStateException : Exception { public abstract ResultState ResultState { get; } protected ResultStateException(string message); public ResultStateException(string message, Exception inner); protected ResultStateException(SerializationInfo info, StreamingContext context); } }