arcium-primitives 0.6.0

Arcium primitives
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use wincode::{SchemaRead, SchemaWrite};

use crate::correlated_randomness::stream::CorrelatedStreamError;

#[derive(Debug, Clone, thiserror::Error, PartialEq, Eq, SchemaRead, SchemaWrite)]
pub enum BundlerError {
    #[error("Insufficient preprocessing: {0}")]
    InsufficientPreprocessing(String),
    #[error("Extra preprocessing remaining: {0}")]
    ExtraPreprocessing(String),
    #[error("Stream error: {0}")]
    StreamError(#[from] CorrelatedStreamError),
}