MCPcopy Create free account
hub / github.com/docknetwork/crypto / SaverError

Enum SaverError

saver/src/error.rs:5–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3
4#[derive(Clone, Debug)]
5pub 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
23impl From<SynthesisError> for SaverError {
24 fn from(e: SynthesisError) -> Self {

Callers 2

fromMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected