exceptions.py 325 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
"""
Exceptions related to EdxNotes.
"""


class EdxNotesParseError(Exception):
    """
    An exception that is raised whenever we have issues with data parsing.
    """
    pass


class EdxNotesServiceUnavailable(Exception):
    """
    An exception that is raised whenever EdxNotes service is unavailable.
    """
    pass