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, 7and Linux, MacOS with net10.0, net9.0 or net8.0 installed

See Also

Reference

ExtensionMethodsFailure Class
ExtensionMethodsFailure Members