Coverage for portality / ui / exceptions.py: 100%
9 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-05-05 00:09 +0100
« prev ^ index » next coverage.py v7.13.5, created at 2026-05-05 00:09 +0100
3class ArticleFromWithdrawnJournal(Exception):
4 """
5 Raised when when an attempt is made to access an article that appears in withdrawn journal
6 """
8 def __init__(self, message=None, **kwargs):
9 super(ArticleFromWithdrawnJournal, self).__init__(message)
12class TombstoneArticle(Exception):
13 """
14 Raised when when an attempt is made to access an article that has been deleted
15 """
17 def __init__(self, message=None, **kwargs):
18 super(TombstoneArticle, self).__init__(message)
21class JournalWithdrawn(Exception):
22 """
23 Raised when an attempt is made to access a withdrawn journal.
24 """
26 def __init__(self, message=None, context=None):
27 super(JournalWithdrawn, self).__init__(message)