Function to_cmd_err

Source
pub fn to_cmd_err(result: Result<(), String>) -> Result<(), ExitCode>