Add a central module to define project warnings
Add the mayan.apps.common.warnings module with an initial InterfaceWarning warning class used to mark use of deprecated internal interfaces. Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
7
mayan/apps/common/warnings.py
Normal file
7
mayan/apps/common/warnings.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
||||
class InterfaceWarning(UserWarning):
|
||||
"""
|
||||
Warning when using obsolete internal interfaces
|
||||
"""
|
||||
Reference in New Issue
Block a user