Enum near_vm_errors::FunctionCallError [−][src]
pub enum FunctionCallError {
CompilationError(CompilationError),
LinkError {
msg: String,
},
MethodResolveError(MethodResolveError),
WasmTrap(WasmTrap),
WasmUnknownError {
debug_message: String,
},
HostError(HostError),
_EVMError,
Nondeterministic(String),
}
Variants
CompilationError(CompilationError)
Wasm compilation error
Tuple Fields of CompilationError
Wasm binary env link error
Fields of LinkError
msg: String
MethodResolveError(MethodResolveError)
Import/export resolve error
Tuple Fields of MethodResolveError
WasmTrap(WasmTrap)
A trap happened during execution of a binary
Tuple Fields of WasmTrap
0: WasmTrap
Fields of WasmUnknownError
debug_message: String
HostError(HostError)
Tuple Fields of HostError
0: HostError
Nondeterministic(String)
Non-deterministic error.
Tuple Fields of Nondeterministic
0: String
Trait Implementations
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 FunctionCallError
impl Send for FunctionCallError
impl Sync for FunctionCallError
impl Unpin for FunctionCallError
impl UnwindSafe for FunctionCallError
Blanket Implementations
Mutably borrows from an owned value. Read more