<PackageReference Include="NUnit" Version="3.0.0-alpha-4" />

NUnitException

public class NUnitException : Exception
Thrown when an assertion failed. Here to preserve the inner exception and hence its stack trace.
public NUnitException()

Initializes a new instance of the NUnitException class.

public NUnitException(string message)

Initializes a new instance of the NUnitException class.

public NUnitException(string message, Exception inner)

Initializes a new instance of the NUnitException class.

Serialization Constructor