Table of Contents

Method WriteException

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

WriteException<TException>(TException?)

Writes an exception details to the output.

IOutput WriteException<TException>(TException? exception) where TException : Exception

Parameters

exception TException

The exception to write.

Returns

IOutput

The current output instance for method chaining.

Type Parameters

TException

The type of the exception.