Method WriteErrorLine
- Namespace
- Ploch.CommandLine.Spectre.Output
- Assembly
- Ploch.CommandLine.Spectre.dll
WriteErrorLine<TMessage>(TMessage?)
Writes an error message in red formatting followed by a line terminator to the console.
public IOutput WriteErrorLine<TMessage>(TMessage? message)
Parameters
messageTMessageThe error message to write.
Returns
- IOutput
The current output instance for method chaining.
Type Parameters
TMessageThe type of the message to write.