error_with_context

Function error_with_context 

Source
pub fn error_with_context(msg: &str, context: &str)
Expand description

Print an error message with context

§Examples

use oxur_cli::common::output::error_with_context;

error_with_context("Failed to parse file", "Check the file format");
// Output:
// Error: Failed to parse file (in red)
// → Check the file format (in yellow)