Table of Contents

Method GetExceptionText

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

GetExceptionText(TException?)

Gets the formatted text representation of the exception.

protected virtual string GetExceptionText(TException? exception)

Parameters

exception TException

The exception to format.

Returns

string

A string containing the exception type name and message.