primitives/correlated_randomness/bundler/errors.rs
1use crate::correlated_randomness::stream::CorrelatedStreamError;
2
3#[derive(Debug, Clone, thiserror::Error, PartialEq, Eq)]
4pub enum BundlerError {
5 #[error("Insufficient preprocessing: {0}")]
6 InsufficientPreprocessing(String),
7 #[error("Extra preprocessing remaining: {0}")]
8 ExtraPreprocessing(String),
9 #[error("Stream error: {0}")]
10 StreamError(#[from] CorrelatedStreamError),
11}