NDepend.API Documentation
GetExceptionAndInnerExceptionTypeAndMessage Method
NDepend.Helpers Namespace > ExtensionMethodsFailure Class : GetExceptionAndInnerExceptionTypeAndMessage Method
The exception
Get a multi-lines string containing the exception type and message, and if it has an inner-exception, its type and message are also shown.
Syntax
[Extension()]
public static string GetExceptionAndInnerExceptionTypeAndMessage( 
   Exception exception
)

Parameters

exception
The exception

Return Value

The multi-lines string.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsFailure Class
ExtensionMethodsFailure Members