'Return a dictionary of course_dir -> [(msg, exception_str)], for each
course_dir where course loading failed.'

def get_errored_courses(self):

    return dict(((k, self.errored_courses[k].errors) for k in self.errored_courses))
