haloumi_core/error.rs
1//! Error type.
2
3use crate::{slot::cell::CellError, table::TableError};
4use thiserror::Error;
5
6/// Core error type.
7#[derive(Error, Copy, Clone, Debug)]
8pub enum Error {
9 /// Error related to the PLONK table.
10 #[error(transparent)]
11 TableError(#[from] TableError),
12 /// Error related to cell references.
13 #[error(transparent)]
14 CellRefError(#[from] CellError),
15}