IsTxError

Trait IsTxError 

pub trait IsTxError {
    // Required method
    fn is_tx_error(&self) -> bool;
}
Available on crate feature evm only.
Expand description

Trait to check if the error is a transaction error.

Used in cache_error handler to catch deposit transaction that was halted.

Required Methods§

fn is_tx_error(&self) -> bool

Check if the error is a transaction error.

Implementors§

§

impl<DB, TX> IsTxError for EVMError<DB, TX>