remainder/expression/
expr_errors.rs1use crate::sumcheck::MleError;
2use shared_types::transcript::TranscriptReaderError;
3use thiserror::Error;
4
5#[derive(Error, Debug, Clone, PartialEq)]
7pub enum ExpressionError {
8 #[error("")]
11 InvalidMleIndex,
12
13 #[error("Something went wrong while evaluating: {0}")]
16 EvaluationError(&'static str),
17
18 #[error("Something went wrong while evaluating the MLE: {0}")]
20 MleError(#[from] MleError),
21
22 #[error("Selector bit not bound before final evaluation gather")]
24 SelectorBitNotBoundError,
25
26 #[error("MLE ref with more than one element in its bookkeeping table")]
28 EvaluateNotFullyBoundError,
29
30 #[error("MLE contains indices other than indexed.")]
32 EvaluateNotFullyIndexedError,
33
34 #[error("The bound indices of this expression don't match the indices passed in")]
36 EvaluateBoundIndicesDontMatch,
37
38 #[error("Transcript Reader Error")]
40 TranscriptError(#[from] TranscriptReaderError),
41}