Files
edx-platform/lms/djangoapps/survey/exceptions.py
M. Zulqarnain feaf5011c8 BOM-2287 : Pylint amnesty in teams,tests,survey and verify_student (#26305)
* lint amnesty in teams,tests,survey and verify_student
2021-02-03 18:15:03 +05:00

18 lines
420 B
Python

"""
Specialized exceptions for the Survey Djangoapp
"""
class SurveyFormNotFound(Exception):
"""
Thrown when a SurveyForm is not found in the database
"""
pass # lint-amnesty, pylint: disable=unnecessary-pass
class SurveyFormNameAlreadyExists(Exception):
"""
Thrown when a SurveyForm is created but that name already exists
"""
pass # lint-amnesty, pylint: disable=unnecessary-pass