error

Function error 

Source
pub fn error(message: &str)
Expand description

Display an error message to the user in red with padding

Format: blank line + red message + blank line

§Example

output::error("Index not found. Run 'rfx index' to build the cache first.");