Files
edx-platform/lms/djangoapps/discussion/exceptions.py
M. Zulqarnain 65cf0db337 BOM-2278 : Pylint amnesty in discussion, dashboard (#26275)
* pylint amnesty in discussion, dashboard
2021-02-03 18:15:14 +05:00

12 lines
285 B
Python

"""
Custom exceptions raised by Discussion API.
"""
class TeamDiscussionHiddenFromUserException(BaseException):
"""
This is the exception raised when a user is not
permitted to view the discussion thread
"""
pass # lint-amnesty, pylint: disable=unnecessary-pass