pEp MixMailer prototype. See aditional documentation at https://mixmailer_docs.codeberg.page/ (source: https://gitea.pep.foundation/pEp.foundation/mixmailer_docs). See slides at gitea.pep.foundation/pEp.foundation/mixmailer_slides
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

"""Exceptions."""
class EfarException(Exception):
pass
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.")