Table of Contents

Class ExceptionMessageWriter

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

Specialised message writer for handling and displaying exceptions.

public class ExceptionMessageWriter : TypeMessageWriter<Exception>, IMessageWriter<Exception>, IMessageWriter, IMessageHandler
Inheritance
ExceptionMessageWriter
Implements
Inherited Members

Constructors

ExceptionMessageWriter(IAnsiConsole)

Specialised message writer for handling and displaying exceptions.

Properties

WritesLineTerminator

Gets a value indicating whether this writer ends its output with a line terminator.

Methods

Write(Exception?, IMessageFormatterProcessor?, IFormatProvider?)

Writes an exception message to the configured output.