Table of Contents

Class ExceptionExtensions

Namespace
Xunit.Internal

INTERNAL CLASS. DO NOT USE.

public static class ExceptionExtensions
Inheritance
ExceptionExtensions
Inherited Members

Methods

Unwrap(Exception)

Unwraps an exception to remove any wrappers, like TargetInvocationException.

public static Exception Unwrap(this Exception ex)

Parameters

ex Exception

The exception to unwrap.

Returns

Exception

The unwrapped exception.