Enum prio::pcp::PcpError [−][src]
pub enum PcpError {
}
Expand description
Errors propagated by methods in this module.
Variants
The caller of an arithmetic circuit provided the wrong number of inputs. This error may occur when evaluating a validity circuit or gadget.
CircuitIn(&'static str)
The caller of an arithmetic circuit provided malformed input.
Tuple Fields of CircuitIn
0: &'static str
This error is returned by collect
if the input slice is empty.
This error is returned by collect
if the two or more verifier shares have different
gadget arities.
Returned if an FFT operation propagates an error.
When evaluating a gadget on polynomials, this error is returned if the input polynomials don’t all have the same length.
When evaluating a gadget on polynomials, this error is returned if the slice allocated for the output polynomial is too small.
Query(&'static str)
Calling query
returned an error.
Tuple Fields of Query
0: &'static str
Returned by query
if one of the elements of the query randomness vector is invalid. An
element is invalid if using it to generate the verification message would result in a
privacy violation.
If this error is returned, the caller may generate fresh randomness and retry.
Decide(&'static str)
Calling decide
returned an error.
Tuple Fields of Decide
0: &'static str
The validity circuit was called with the wrong amount of randomness.
Valid(&'static str)
Encountered an error while evaluating a validity circuit.
Tuple Fields of Valid
0: &'static str
Field(FieldError)
Returned if a field operation encountered an error.
Tuple Fields of Field
0: FieldError
GetRandom(Error)
Failure when calling getrandom().
Tuple Fields of GetRandom
0: Error
Trait Implementations
Performs the conversion.