Function uquery::error [−][src]
pub fn error(string: &str, suggestion: Option<&str>)
Displays an error to the user.
This is not designed for program-side error, as it prints in colour to the standard output, not the stderr. It also lets you give suggestions, so the user can know what they have done wrong.