[][src]Enum bulletproofs::ProofError

pub enum ProofError {
    VerificationError,
    FormatError,
    WrongNumBlindingFactors,
    InvalidBitsize,
    InvalidAggregation,
    InvalidGeneratorsLength,
    ProvingError(MPCError),
}

Represents an error in proof creation, verification, or parsing.

Variants

This error occurs when a proof failed to verify.

This error occurs when the proof encoding is malformed.

This error occurs during proving if the number of blinding factors does not match the number of values.

This error occurs when attempting to create a proof with bitsize other than \(8\), \(16\), \(32\), or \(64\).

This error occurs when attempting to create an aggregated proof with non-power-of-two aggregation size.

This error occurs when there are insufficient generators for the proof.

This error results from an internal error during proving.

The single-party prover is implemented by performing multiparty computation with ourselves. However, because the MPC protocol is not exposed by the single-party API, we consider its errors to be internal errors.

Trait Implementations

impl PartialEq<ProofError> for ProofError
[src]

impl From<MPCError> for ProofError
[src]

impl Clone for ProofError
[src]

Performs copy-assignment from source. Read more

impl Eq for ProofError
[src]

impl Display for ProofError
[src]

impl Debug for ProofError
[src]

impl Fail for ProofError
[src]

Provides context for this failure. Read more

Wraps this failure in a compatibility wrapper that implements std::error::Error. Read more

Auto Trait Implementations

impl Send for ProofError

impl Sync for ProofError

Blanket Implementations

impl<T> From for T
[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Same for T

Should always be Self

impl<T> AsFail for T where
    T: Fail
[src]

impl<E> Fail for E where
    E: 'static + Error + Send + Sync
[src]

Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more

Returns a reference to the Backtrace carried by this failure, if it carries one. Read more

Provides context for this failure. Read more

Wraps this failure in a compatibility wrapper that implements std::error::Error. Read more