pEp MixMailer prototype. See aditional documentation at (source: See slides at
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
726 B

class EfarException(Exception):
class PepNoKeyImported(EfarException):
def __init__(self):
super().__init__("No key imported.")
class PepKeyNotFound(EfarException):
def __init__(self):
super().__init__("No key found.")
class EmailNotEncrypted(EfarException):
def __init__(self):
super().__init__("Email not encrypted.")
class EmailNotDecrypted(EfarException):
def __init__(self):
super().__init__("Email not decrypted.")
class EmailNotTrusted(EfarException):
def __init__(self):
super().__init__("Email not trusted.")
class NoEmailAddress(EfarException):
def __init__(self):
super().__init__("No Email address.")