Enum dusk_plonk::error::Error [−][src]
pub enum Error {}Show variants
InvalidEvalDomainSize { log_size_of_group: u32, adacity: u32, }, ProofVerificationError, CircuitInputsNotFound, UninitializedPIGenerator, InvalidPublicInputBytes, CircuitAlreadyPreprocessed, MismatchedPolyLen, DegreeIsZero, TruncatedDegreeTooLarge, TruncatedDegreeIsZero, PolynomialDegreeTooLarge, PolynomialDegreeIsZero, PairingCheckFailure, BytesError(DuskBytesError), NotEnoughBytes, PointMalformed, BlsScalarMalformed,
Expand description
Defines all possible errors that can be encountered in PLONK.
Variants
This error occurs when an error triggers on any of the fft module functions.
Show fields
This error occurs when a proof verification fails.
This error occurs when the circuit is not provided with all of the required inputs.
This error occurs when we want to verify a Proof but the pi_constructor attribute is uninitialized.
PublicInput serialization error
This error occurs when the Prover structure already contains a preprocessed circuit inside, but you call preprocess again.
This error occurs when an error triggers during the preprocessing stage.
This error occurs when the user tries to create PublicParameters and supplies the max degree as zero.
This error occurs when the user tries to trim PublicParameters to a degree that is larger than the maximum degree.
This error occurs when the user tries to trim PublicParameters down to a degree that is zero.
This error occurs when the user tries to commit to a polynomial whose degree is larger than the supported degree for that proving key.
This error occurs when the user tries to commit to a polynomial whose degree is zero.
This error occurs when the pairing check fails at being equal to the Identity point.
BytesError(DuskBytesError)
Dusk-bytes serialization error
This error occurs when there are not enough bytes to read out of a slice during deserialization.
This error occurs when a malformed point is decoded from a byte array.
This error occurs when a malformed BLS scalar is decoded from a byte array.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error