haloumi-core 0.5.6

Core types and traits of the Halo2 frontend for LLZK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Error type.

use crate::{slot::cell::CellError, table::TableError};
use thiserror::Error;

/// Core error type.
#[derive(Error, Copy, Clone, Debug)]
pub enum Error {
    /// Error related to the PLONK table.
    #[error(transparent)]
    TableError(#[from] TableError),
    /// Error related to cell references.
    #[error(transparent)]
    CellRefError(#[from] CellError),
}