Error(string) Method
Returns a
ValidationResult
representing a validation error.
public static ValidationResult Error(string message = null)
- Namespace
- Spectre
.Console - Containing Type
- ValidationResult
Parameters
- string message
- The validation error message, or
null
to show the default validation error message.