Method GetExceptionText
- Namespace
- Ploch.CommandLine.Spectre.Output
- Assembly
- Ploch.CommandLine.Spectre.dll
GetExceptionText(Win32Exception?)
Builds the marked-up console text for the exception, including its native error code.
protected override string GetExceptionText(Win32Exception? exception)
Parameters
exceptionWin32ExceptionThe exception to describe.
Returns
- string
The Spectre.Console markup describing the exception.