ethrex-storage-rollup 17.0.0

Rollup batch and prover-input storage for the ethrex L2 Ethereum client
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use thiserror::Error;

// TODO improve errors
#[derive(Debug, Error)]
pub enum RollupStoreError {
    #[error("DecodeError")]
    DecodeError,
    #[cfg(feature = "sql")]
    #[error("Limbo Query error: {0}")]
    SQLQueryError(#[from] libsql::Error),
    #[cfg(feature = "sql")]
    #[error("SQL Query error: unexpected type found while querying DB")]
    SQLInvalidTypeError,
    #[error("{0}")]
    Custom(String),
    #[error("Bincode (de)serialization error: {0}")]
    BincodeError(#[from] bincode::Error),
}