common.exceptions¶
-
exception
BasicException
(msg, **kwargs)[source]¶ Bases:
Exception
Base exception for all the other custom ones. Allows to store a message and some
kwargs
.
-
exception
EncryptionError
(msg, **kwargs)[source]¶ Bases:
common.exceptions.BasicException
Raised when there is an error with encryption related functions, covers decryption.
-
exception
InvalidKey
(msg, **kwargs)[source]¶ Bases:
common.exceptions.BasicException
Raised when there is an error loading the keys.
-
exception
InvalidParameter
(msg, **kwargs)[source]¶ Bases:
common.exceptions.BasicException
Raised when a command line parameter is invalid (either missing or wrong).
-
exception
SignatureError
(msg, **kwargs)[source]¶ Bases:
common.exceptions.BasicException
Raised when there is an with the signature related functions, covers EC recover.
-
exception
TowerConnectionError
(msg, **kwargs)[source]¶ Bases:
common.exceptions.BasicException
Raised when the tower responds with an error.
-
exception
TowerResponseError
(msg, **kwargs)[source]¶ Bases:
common.exceptions.BasicException
Raised when the tower responds with an error.