pub type ExternResult<T> = Result<T, WasmError>;
Every extern must return a WasmError in the case of failure.
WasmError