pub trait ErrorExt: Error {
// Required method
fn abi_encode_revert(&self) -> Bytes;
}
Expand description
An extension trait for std::error::Error
for ABI encoding.
Required Methods§
Sourcefn abi_encode_revert(&self) -> Bytes
fn abi_encode_revert(&self) -> Bytes
ABI-encodes the error using Revert(string)
.