pub fn map_exit_code(err: &AppError) -> i32
Map an AppError from any recipe / uninstall flow to the documented exit code. Generic errors map to 1.
AppError