Skip to main content

Module error

Module error 

Source
Expand description

Runtime error type — pure-compute side.

Heavy variants (wallet/proving/indexer wraps + the lifecycle ContractsError enum) live in [moonproof_contracts::error]. Runtime code never returns those variants because it never touches network / proving / heavy lifecycle paths.

The host crate has its own ContractRuntimeError enum that mirrors these variants and adds the heavy ones; conversion is via From<moonproof_runtime::ContractRuntimeError> on the host side.

Enums§

ContractRuntimeError
Runtime/infrastructure errors emitted by the wasm-friendly runtime core (walker / IR executor / state struct / ledger types).

Type Aliases§

Result