Struct ethcontract::errors::MethodError [−][src]
pub struct MethodError { pub signature: String, pub inner: ExecutionError, }
Expand description
Error that can occur while executing a contract call or transaction.
Fields
signature: String
The signature of the failed method.
inner: ExecutionError
The inner execution error that for the method transaction that failed.
Implementations
Create a new MethodError
from an ABI function specification and an
inner ExecutionError
.
Create a MethodError
from its signature and inner ExecutionError
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for MethodError
impl Send for MethodError
impl Sync for MethodError
impl Unpin for MethodError
impl !UnwindSafe for MethodError