Enum snarkvm_r1cs::errors::synthesis::SynthesisError [−][src]
pub enum SynthesisError { AssignmentMissing, DivisionByZero, Unsatisfiable, PolynomialDegreeTooLarge, UnexpectedIdentity, IoError(Error), MalformedVerifyingKey, UnconstrainedVariable, }
Expand description
This is an error that could occur during circuit synthesis contexts, such as CRS generation, proving or verification.
Variants
During synthesis, we lacked knowledge of a variable assignment.
During synthesis, we divided by zero.
During synthesis, we constructed an unsatisfiable constraint system.
During synthesis, our polynomials ended up being too high of degree
During proof generation, we encountered an identity in the CRS
During proof generation, we encountered an I/O error with the CRS
Tuple Fields of IoError
0: Error
During verification, our verifying key was malformed.
During CRS generation, we observed an unconstrained auxiliary variable
Trait Implementations
Performs the conversion.