pub fn check_classes<P>(path: P) -> Result<(), Box<dyn Error>>
where P: AsRef<Path> + Clone,