Files
edx-platform/lms/djangoapps/instructor_task/exceptions.py
2017-04-24 19:35:06 -04:00

19 lines
432 B
Python

"""
Exception classes used by Instructor tasks.
"""
class UpdateProblemModuleStateError(Exception):
"""
Error signaling a fatal condition while updating problem modules.
Used when the current module cannot be processed and no more
modules should be attempted.
"""
pass
class DuplicateTaskException(Exception):
"""Exception indicating that a task already exists or has already completed."""
pass