pub fn get_random_line(config: &LineConfig) -> Result<String, Box<dyn Error>>