actr-hyper 0.2.1

Hyper — Actor platform infrastructure: sandbox, transport, scheduler, WASM engine, signing, AIS bootstrap, persistence & crypto primitives
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use thiserror::Error;

pub type WasmResult<T> = Result<T, WasmError>;

#[derive(Debug, Error)]
pub enum WasmError {
    #[error("WASM package verification failed: {0}")]
    VerificationFailed(#[from] crate::error::HyperError),

    #[error("WASM module load failed: {0}")]
    LoadFailed(String),

    #[error("WASM actor initialization failed: {0}")]
    InitFailed(String),

    #[error("WASM actor execution failed: {0}")]
    ExecutionFailed(String),
}