alloy_dyn_abi

Trait ErrorExt

Source
pub trait ErrorExt: Sealed {
    // Required method
    fn decode_error(&self, data: &[u8]) -> Result<DecodedError>;
}
Expand description

Provides error encoding and decoding for the Error type.

Required Methods§

Source

fn decode_error(&self, data: &[u8]) -> Result<DecodedError>

Decode the error from the given data.

Implementations on Foreign Types§

Source§

impl ErrorExt for Error

Source§

fn decode_error(&self, data: &[u8]) -> Result<DecodedError>

Implementors§