Constructor DefaultExceptionHandler
- Namespace
- Ploch.CommandLine.Spectre.Commands
- Assembly
- Ploch.CommandLine.Spectre.dll
DefaultExceptionHandler(IAnsiConsole, IOutput)
Default implementation of the IExceptionHandler interface that writes exceptions to the console.
public DefaultExceptionHandler(IAnsiConsole console, IOutput output)
Parameters
consoleIAnsiConsoleThe ANSI console used to display exception information.
outputIOutputThe output writer used to render exception details.