pub enum OpError {
    // todo add operations errors
    Unknown(String),
}

#[cfg(feature = "rocks_db")]
impl From<::rocksdb::Error> for OpError {
    fn from(err: ::rocksdb::Error) -> Self {
        OpError::Unknown(err.into_string())
    }
}

pub use ledger_diff::LedgerDiffOps;
pub use milestone::MilestoneOps;
pub use transaction::TransactionOps;