Source code for federation.exceptions

[docs] class EncryptedMessageError(Exception): """Encrypted message could not be opened.""" pass
[docs] class NoSenderKeyFoundError(Exception): """Sender private key was not available to sign a payload message.""" pass
[docs] class NoSuitableProtocolFoundError(Exception): """No suitable protocol found to pass this payload message to.""" pass
[docs] class SignatureVerificationError(Exception): """Authenticity of the signature could not be verified given the key.""" pass