Table of Contents

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

console IAnsiConsole

The ANSI console used to display exception information.

output IOutput

The output writer used to render exception details.