| 3 | |
| 4 | #[derive(Clone, Debug)] |
| 5 | pub enum SaverError { |
| 6 | UnexpectedBase(u8), |
| 7 | InvalidDecomposition, |
| 8 | LegoGroth16Error(LegoGroth16Error), |
| 9 | SynthesisError(SynthesisError), |
| 10 | VectorShorterThanExpected(usize, usize), |
| 11 | MalformedEncryptionKey(usize, usize), |
| 12 | MalformedDecryptionKey(usize, usize), |
| 13 | IncompatibleEncryptionKey(usize, usize), |
| 14 | IncompatibleDecryptionKey(usize, usize), |
| 15 | InvalidProof, |
| 16 | InvalidCommitment, |
| 17 | InvalidDecryption, |
| 18 | CouldNotFindDiscreteLog, |
| 19 | InvalidPairingPowers, |
| 20 | PairingCheckFailed, |
| 21 | } |
| 22 | |
| 23 | impl From<SynthesisError> for SaverError { |
| 24 | fn from(e: SynthesisError) -> Self { |
no outgoing calls
no test coverage detected