Enum ark_relations::r1cs::SynthesisError
source · pub enum SynthesisError {
MissingCS,
AssignmentMissing,
DivisionByZero,
Unsatisfiable,
PolynomialDegreeTooLarge,
UnexpectedIdentity,
MalformedVerifyingKey,
UnconstrainedVariable,
}
Expand description
This is an error that could occur during circuit synthesis contexts, such as CRS generation, proving or verification.
Variants§
MissingCS
During synthesis, we tried to allocate a variable when
ConstraintSystemRef
was None
.
AssignmentMissing
During synthesis, we lacked knowledge of a variable assignment.
DivisionByZero
During synthesis, we divided by zero.
Unsatisfiable
During synthesis, we constructed an unsatisfiable constraint system.
PolynomialDegreeTooLarge
During synthesis, our polynomials ended up being too high of degree
UnexpectedIdentity
During proof generation, we encountered an identity in the CRS
MalformedVerifyingKey
During verification, our verifying key was malformed.
UnconstrainedVariable
During CRS generation, we observed an unconstrained auxiliary variable
Trait Implementations§
source§impl Clone for SynthesisError
impl Clone for SynthesisError
source§fn clone(&self) -> SynthesisError
fn clone(&self) -> SynthesisError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SynthesisError
impl Debug for SynthesisError
source§impl Display for SynthesisError
impl Display for SynthesisError
source§impl PartialEq<SynthesisError> for SynthesisError
impl PartialEq<SynthesisError> for SynthesisError
source§fn eq(&self, other: &SynthesisError) -> bool
fn eq(&self, other: &SynthesisError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.