pub fn detail_exit(code: i32, is_test: bool) -> !
If code is not 0 (successful exit status), exit status is 101 (rust’s default error code.) If is_test true and code is an error code, it will cause a panic.
is_test