Enum tari_bulletproofs::r1cs::R1CSError [−][src]
pub enum R1CSError { InvalidGeneratorsLength, FormatError, VerificationError, MissingAssignment, GadgetError { description: String, }, }
Expand description
Represents an error during the proving or verifying of a constraint system.
XXX: should this be separate from a ProofError
?
Variants
Occurs when there are insufficient generators for the proof.
This error occurs when the proof encoding is malformed.
Occurs when verification of an
R1CSProof
fails.
Occurs when trying to use a missing variable assignment. Used by gadgets that build the constraint system to signal that a variable assignment is not provided when the prover needs it.
Occurs when a gadget receives an inconsistent input.
Show fields
Fields of GadgetError
description: String
The description of the reasons for the error.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for R1CSError
impl UnwindSafe for R1CSError
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V