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

NUnit.Framework.Internal.NUnitException

public class NUnitException : Exception
Thrown when an assertion failed. Here to preserve the inner exception and hence its stack trace.
namespace NUnit.Framework.Internal { public class NUnitException : Exception { public NUnitException(); public NUnitException(string message); public NUnitException(string message, Exception inner); protected NUnitException(SerializationInfo info, StreamingContext context); } }