Source code for stringphone.exceptions

[docs]class BadSignatureError(Exception): "Raised when a signature did not verify." pass
[docs]class IntroductionError(Exception): "Raised when a message is an introduction." pass
[docs]class IntroductionReplyError(Exception): "Raised when a message is an introduction reply." pass
[docs]class MalformedMessageError(Exception): "Raised when attempting to decode a malformed message." pass
[docs]class MissingTopicKeyError(Exception): "Raised when trying to encode data without the topic key." pass
[docs]class UntrustedKeyError(Exception): "Raised when the verification key for a signed message could not be found." pass