Function forest_filecoin::cli_shared::cli::cli_error_and_die

source ยท
pub fn cli_error_and_die(msg: impl AsRef<str>, code: i32) -> !
Expand description

Print an error message and exit the program with an error code Used for handling high level errors such as invalid parameters