Class ExceptionUtility
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.common.dll
Utility class for dealing with Exception and IErrorMetadata objects.
public static class ExceptionUtility
- Inheritance
-
ExceptionUtility
- Inherited Members
Methods
- CombineMessages(IErrorMetadata)
Combines multiple levels of messages into a single message.
- CombineStackTraces(IErrorMetadata)
Combines multiple levels of stack traces into a single stack trace.
- ExtractMetadata(Exception)
Unwraps exceptions and their inner exceptions.