pub fn show_error(text: String, is_linux: bool) {
    if is_linux {
        println!("\n{}", text);
    } else {
        println!("\r\n{}", text);
    }
    std::process::exit(12345);
}
// I don't want it panic, but show the error
I don't want it panic, but show the error
I don ' t want it panic but show the error
pub fn show_error(text: String, is_linux: bool) {
    if is_linux {
        println!("\n{}", text);
    } else {
        println!("\r\n{}", text);
    }
    std::process::exit(12345);
}
pub fn show_error ( text : String , is_linux : bool ) { if is_linux { println ! ( " \n " text ) ; } else { println ! ( " \r \n " text ) ; } std :: process :: exit ( 12345 ) ; }
I don't want it panic, but show the error
I don ' t want it panic but show the error
text
String
is_linux
bool