Enum snarkvm_algorithms::snark::marlin::MarlinError
source · pub enum MarlinError {
IndexTooLarge(usize, usize),
AHPError(AHPError),
R1CSError(SynthesisError),
PolynomialCommitmentError(PCError),
Terminated,
}Expand description
A enum specifying the possible failure modes of Marlin.
Variants§
IndexTooLarge(usize, usize)
The index is too large for the universal public parameters.
AHPError(AHPError)
There was an error in the underlying holographic IOP.
R1CSError(SynthesisError)
There was a synthesis error.
PolynomialCommitmentError(PCError)
There was an error in the underlying polynomial commitment.
Terminated
Trait Implementations§
source§impl Debug for MarlinError
impl Debug for MarlinError
source§impl From<AHPError> for MarlinError
impl From<AHPError> for MarlinError
source§impl From<MarlinError> for SNARKError
impl From<MarlinError> for SNARKError
source§fn from(error: MarlinError) -> Self
fn from(error: MarlinError) -> Self
Converts to this type from the input type.
source§impl From<PCError> for MarlinError
impl From<PCError> for MarlinError
source§impl From<SynthesisError> for MarlinError
impl From<SynthesisError> for MarlinError
source§fn from(err: SynthesisError) -> Self
fn from(err: SynthesisError) -> Self
Converts to this type from the input type.