gdenv-lib 1.1.0

The best command-line tool to install and switch between multiple versions of Godot.
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// Print an error with the full debug stack trace above,
/// and an error message cause chain at the bottom for easy viewing in the terminal.
pub fn print_error_stack(e: anyhow::Error) {
    eprintln!("Error: {:?}", e);
    eprintln!("\nError: {}", e);
    let mut source = e.source();
    while let Some(err) = source {
        eprintln!("  Caused by: {}", err);
        source = err.source();
    }
}