pub enum AHPError {
    ConstraintSystemError(SynthesisError),
    InstanceDoesNotMatchIndex,
    InvalidPublicInputLength,
    MissingEval(String),
    NonSquareMatrix,
    PolynomialDegreeTooLarge,
}Expand description
Describes the failure modes of the AHP scheme.
Variants§
ConstraintSystemError(SynthesisError)
An error occurred during constraint generation.
InstanceDoesNotMatchIndex
The instance generated during proving does not match that in the index.
InvalidPublicInputLength
The number of public inputs is incorrect.
MissingEval(String)
During verification, a required evaluation is missing
NonSquareMatrix
Currently we only support square constraint matrices.
PolynomialDegreeTooLarge
During synthesis, our polynomials ended up being too high of degree
Trait Implementations§
source§impl From<AHPError> for MarlinError
 
impl From<AHPError> for MarlinError
source§impl From<AHPError> for SNARKError
 
impl From<AHPError> for SNARKError
source§impl From<SynthesisError> for AHPError
 
impl From<SynthesisError> for AHPError
source§fn from(other: SynthesisError) -> Self
 
fn from(other: SynthesisError) -> Self
Converts to this type from the input type.