pub trait EthError: Tokenizable + AbiDecode + AbiEncode + Send + Sync {
    fn error_name() -> Cow<'static, str>;
    fn abi_signature() -> Cow<'static, str>;

    fn selector() -> Selector { ... }
}
Expand description

A helper trait for types that represents a custom error type

Required Methods§

The name of the error

Retrieves the ABI signature for the error

Provided Methods§

The selector of the error

Implementors§