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