An easy-to-host PDS on the ATProtocol, iPhone and MacOS. Maintain control of your keys and data, always.
1#[derive(Debug, thiserror::Error)]
2pub enum CryptoError {
3 #[error("key generation failed: {0}")]
4 KeyGeneration(String),
5 #[error("encryption failed: {0}")]
6 Encryption(String),
7 #[error("decryption failed: {0}")]
8 Decryption(String),
9 #[error("secret sharing failed: {0}")]
10 SecretSharing(String),
11 #[error("secret reconstruction failed: {0}")]
12 SecretReconstruction(String),
13 #[error("plc operation failed: {0}")]
14 PlcOperation(String),
15}