pub enum FunctionCallErrorSer {
CompilationError(CompilationError),
LinkError {
msg: String,
},
MethodResolveError(MethodResolveError),
WasmTrap(WasmTrap),
WasmUnknownError,
HostError(HostError),
_EVMError,
ExecutionError(String),
}
Expand description
Serializable version of FunctionCallError
. Must never reorder/remove elements, can only
add new variants at the end (but do that very carefully). This type must be never used
directly, and must be converted to ContractCallError
instead using into()
converter.
It describes stable serialization format, and only used by serialization logic.
Variants
CompilationError(CompilationError)
Wasm compilation error
LinkError
Fields
msg: String
Wasm binary env link error
MethodResolveError(MethodResolveError)
Import/export resolve error
WasmTrap(WasmTrap)
A trap happened during execution of a binary
WasmUnknownError
HostError(HostError)
_EVMError
ExecutionError(String)
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for FunctionCallErrorSer
impl Send for FunctionCallErrorSer
impl Sync for FunctionCallErrorSer
impl Unpin for FunctionCallErrorSer
impl UnwindSafe for FunctionCallErrorSer
Blanket Implementations
Mutably borrows from an owned value. Read more