Table of Contents

Method ForFailures

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

ForFailures(IReadOnlyCollection<Exception>)

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

public static MultipleException ForFailures(IReadOnlyCollection<Exception> innerExceptions)

Parameters

innerExceptions IReadOnlyCollection<Exception>

The inner exceptions

Returns