Method WriteError
- Namespace
- Ploch.CommandLine.Spectre.Output
- Assembly
- Ploch.CommandLine.Spectre.dll
WriteError<TMessage>(TMessage?)
Writes an error message in red formatting to the console.
public IOutput WriteError<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.