Enum bellman::SynthesisError
[−]
[src]
pub enum SynthesisError { AssignmentMissing, DivisionByZero, Unsatisfiable, PolynomialDegreeTooLarge, UnexpectedIdentity, IoError(Error), MalformedVerifyingKey, UnconstrainedVariable, }
This is an error that could occur during circuit synthesis contexts, such as CRS generation, proving or verification.
Variants
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
IoError(Error)
During proof generation, we encountered an I/O error with the CRS
MalformedVerifyingKey
During verification, our verifying key was malformed.
UnconstrainedVariable
During CRS generation, we observed an unconstrained auxillary variable
Trait Implementations
impl Debug for SynthesisError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<Error> for SynthesisError
[src]
fn from(e: Error) -> SynthesisError
[src]
Performs the conversion.
impl Error for SynthesisError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more