refactor(interfaces): Result -> RethResult, Error -> RethError (#4695)

This commit is contained in:
Alexey Shekhirin
2023-09-20 22:13:16 +01:00
committed by GitHub
parent 6016da7a12
commit 0874767cd9
59 changed files with 874 additions and 723 deletions

View File

@ -2,6 +2,7 @@
use crate::Case;
use reth_db::DatabaseError;
use reth_interfaces::RethError;
use std::path::{Path, PathBuf};
use thiserror::Error;
@ -42,7 +43,7 @@ pub enum Error {
Assertion(String),
/// An error internally in reth occurred.
#[error("Test failed: {0}")]
RethError(#[from] reth_interfaces::Error),
RethError(#[from] RethError),
/// An error occurred while decoding RLP.
#[error("An error occurred deserializing RLP")]
RlpDecodeError(#[from] reth_rlp::DecodeError),