pub fn get_char(str: &str) -> Result<char, Box<dyn Error>>