Trait ErrorExt

Source
pub trait ErrorExt: Sealed {
    // Required methods
    fn abi_signature(&self) -> String;
    fn selector(&self) -> Selector;
}
Expand description

Extension trait for ethabi::AbiError.

Required Methods§

Source

fn abi_signature(&self) -> String

Compute the method signature in the standard ABI format.

Source

fn selector(&self) -> Selector

Compute the Keccak256 error selector used by contract ABIs.

Implementations on Foreign Types§

Source§

impl ErrorExt for AbiError

Implementors§