Enum near_vm_errors::PrepareError [−][src]
pub enum PrepareError {
Serialization,
Deserialization,
InternalMemoryDeclared,
GasInstrumentation,
StackHeightInstrumentation,
Instantiate,
Memory,
}
Expand description
Error that can occur while preparing or executing Wasm smart-contract.
Variants
Error happened while serializing the module.
Error happened while deserializing the module.
Internal memory declaration has been found in the module.
Gas instrumentation failed.
This most likely indicates the module isn’t valid.
Stack instrumentation failed.
This most likely indicates the module isn’t valid.
Error happened during instantiation.
This might indicate that start
function trapped, or module isn’t
instantiable and/or unlinkable.
Error creating memory.
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
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for PrepareError
impl Send for PrepareError
impl Sync for PrepareError
impl Unpin for PrepareError
impl UnwindSafe for PrepareError
Blanket Implementations
Mutably borrows from an owned value. Read more