Table of Contents

Class XunitException

Namespace
Xunit.Sdk
Assembly
xunit.v3.assert.dll

The base assert exception class. It marks itself with IAssertionException which is how the framework differentiates between assertion fails and general exceptions.

public class XunitException : Exception, ISerializable, IAssertionException
Inheritance
XunitException
Implements
Derived
Inherited Members

Constructors

XunitException(string?)

Initializes a new instance of the XunitException class.

XunitException(string?, Exception?)

Initializes a new instance of the XunitException class.

Methods

ToString()