Class ExceptionsExtensions
- Namespace
- SunamoPS.Extensions
- Assembly
- SunamoPS.dll
Extension methods for Exception objects.
public static class ExceptionsExtensions
- Inheritance
-
ExceptionsExtensions
- Inherited Members
Methods
GetAllMessages(Exception)
Gets the exception message including all inner exception messages.
public static string GetAllMessages(this Exception exception)
Parameters
exceptionExceptionException to extract messages from.
Returns
- string
Combined message string from the exception and all inner exceptions.