Source code for inginious.common.exceptions

# -*- coding: utf-8 -*-
# This file is part of INGInious. See the LICENSE and the COPYRIGHTS files for
# more information about the licensing of this file.

""" Some type of exceptions used by parts of INGInious """

[docs]class InvalidNameException(Exception): pass
[docs]class CourseNotFoundException(Exception): pass
[docs]class TaskNotFoundException(Exception): pass
[docs]class CourseUnreadableException(Exception): pass
[docs]class CourseAlreadyExistsException(Exception): pass
[docs]class TaskAlreadyExistsException(Exception): pass
[docs]class TaskUnreadableException(Exception): pass
[docs]class TaskReaderNotFoundException(Exception): pass
[docs]class ImportCourseException(Exception): pass