ensure_success

Function ensure_success 

Source
pub fn ensure_success(output: &Output, message: String) -> Result<(), Error>
Expand description

Make sure a command finished successfully, otherwise throw an error.