wasmerio/wasmer · error

VMExceptionRef::into_raw is only implemented for the sys bac

Error message

VMExceptionRef::into_raw is only implemented for the sys backend

What it means

Error "VMExceptionRef::into_raw is only implemented for the sys backend" thrown in wasmerio/wasmer.

Source

Thrown at lib/api/src/vm/impls.rs:107

            #[cfg(feature = "v8")]
            Self::V8(s) => {
                let mut store = store.as_store_mut();
                VMMemory::V8(s.into_vm_memory(store.inner.store.as_v8_mut()))
            }
            #[cfg(feature = "js")]
            Self::Js(s) => VMMemory::Js(s),
        }
    }
}

impl VMExceptionRef {
    /// Converts the `VMExternRef` into a `RawValue`.
    pub fn into_raw(self) -> RawValue {
        match self {
            #[cfg(feature = "sys")]
            Self::Sys(s) => s.into_raw(),

            _ => unimplemented!("VMExceptionRef::into_raw is only implemented for the sys backend"),
        }
    }
}

View on GitHub (pinned to 8c4b9ee9d3)

When it happens

Trigger: Thrown at lib/api/src/vm/impls.rs:107 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of wasmerio/wasmer@8c4b9ee9d3 (2026-09-01). Data as JSON: /api/errors/6caf6b6f09607302. Report an issue: GitHub.