Table of Contents

Method ForFailuresAsync

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

ForFailuresAsync(IReadOnlyCollection<Exception>)

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

public static MultipleException ForFailuresAsync(IReadOnlyCollection<Exception> innerExceptions)

Parameters

innerExceptions IReadOnlyCollection<Exception>

The inner exceptions

Returns