Table of Contents

Class MultipleException

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

Exception thrown when Assert.Multiple fails w/ multiple errors (when a single error occurs, it is thrown directly).

public class MultipleException : XunitException, ISerializable, IAssertionException
Inheritance
MultipleException
Implements
Inherited Members

Properties

InnerExceptions

Gets the list of inner exceptions that were thrown.

StackTrace

Methods

ForFailures(IReadOnlyCollection<Exception>)

Creates a new instance of the MultipleException class to be thrown when Multiple(params Action[]) caught 2 or more exceptions.

ForFailuresAsync(IReadOnlyCollection<Exception>)

Creates a new instance of the MultipleException class to be thrown when MultipleAsync(params Func<Task>[]) caught 2 or more exceptions.