[][src]Enum bellman_ce::SynthesisError

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 From<Error> for SynthesisError[src]

impl Debug for SynthesisError[src]

impl Display for SynthesisError[src]

impl Error for SynthesisError[src]

fn cause(&self) -> Option<&dyn Error>
1.0.0
[src]

Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

The lower-level cause of this error, if any. Read more

fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0
[src]

The lower-level source of this error, if any. Read more

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.