pub fn emergency_exit(error: &str) {
    info!("{}", error);
    println!("Press ENTER to close the application...");

    let mut line = String::new();
    io::stdin().read_line(&mut line).unwrap_or_default();

    exit(0x00FF);
}
/// Exits the program after message explaining the error and prompting the user to press `ENTER`.
Exits the program after message explaining the error and prompting the user to press `ENTER`.
Exits the program after message explaining the error and prompting the user to press ` ENTER ` .
pub fn emergency_exit(error: &str) {
    info!("{}", error);
    println!("Press ENTER to close the application...");
    let mut line = String::new();
    io::stdin().read_line(&mut line).unwrap_or_default();
    exit(0x00FF);
}
pub fn emergency_exit ( error : & str ) { info ! ( " " error ) ; println ! ( " " ) ; let mut line = String :: new ( ) ; io :: stdin ( ) . read_line ( & mut line ) . unwrap_or_default ( ) ; exit ( 0x00FF ) ; }
Exits the program after message explaining the error and prompting the user to press `ENTER`.
Exits the program after message explaining the error and prompting the user to press ` ENTER ` .
error
&str
error
&str