Table of Contents

Method GetInnerExceptionMessage

Namespace
Ploch.CommandLine.Spectre.Output
Assembly
Ploch.CommandLine.Spectre.dll

GetInnerExceptionMessage(Exception?)

Gets a formatted message for an inner exception if one exists.

protected static string GetInnerExceptionMessage(Exception? innerException)

Parameters

innerException Exception

The inner exception to format.

Returns

string

A formatted string containing inner exception details if the inner exception is not null; otherwise, an empty string.