Table of Contents

Class DefaultExceptionHandler

Namespace
Ploch.CommandLine.Spectre.Commands
Assembly
Ploch.CommandLine.Spectre.dll

Default implementation of the IExceptionHandler interface that writes exceptions to the console.

public class DefaultExceptionHandler : IExceptionHandler
Inheritance
DefaultExceptionHandler
Implements
Inherited Members

Constructors

DefaultExceptionHandler(IAnsiConsole, IOutput)

Default implementation of the IExceptionHandler interface that writes exceptions to the console.

Methods

HandleException(Exception)

Handles an exception by writing its details to the console.