__copyright__ = "Copyright © Stichting SciPost (SciPost Foundation)"
__license__ = "AGPL v3"
[docs]class BaseCustomException(Exception):
def __init__(self, name):
self.name = name
def __str__(self):
return self.name
[docs]class CycleUpdateDeadlineError(BaseCustomException):
pass
[docs]class InvalidReportVettingValue(BaseCustomException):
pass
[docs]class PreprintDocumentNotFoundError(BaseCustomException):
pass
[docs]class ArxivPDFNotFound(Exception):
pass
[docs]class InvalidDocumentError(Exception):
pass