1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#[derive(Clone, Debug)]
pub enum ExecuteError {
    Generic,
    Bounds,
    Unreachable,
    IllegalOpcode(u8),
    InvalidNativeInvoke,
    NotSupported
}

pub type ExecuteResult<T> = Result<T, ExecuteError>;