Source code for mails.exceptions
__copyright__ = "Copyright © Stichting SciPost (SciPost Foundation)"
__license__ = "AGPL v3"
[docs]class ConfigurationError(Exception):
def __init__(self, name):
self.name = name
def __str__(self):
return "Configuration error: {}".format(self.name)