{"record":{"id":"c6373451be8bd370","repo":"wasmerio/wasmer","slug":"from-vm-exceptionref-is-only-implemented-for-the-s","errorCode":null,"errorMessage":"from_vm_exceptionref is only implemented for the sys backend","messagePattern":"from_vm_exceptionref is only implemented for the sys backend","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"lib/api/src/entities/exception/inner.rs","lineNumber":88,"sourceCode":"    /// Get the `VMExceptionRef` corresponding to this `Exception`.\n    #[inline]\n    pub fn vm_exceptionref(&self) -> VMExceptionRef {\n        match self {\n            #[cfg(feature = \"sys\")]\n            Self::Sys(s) => VMExceptionRef::Sys(s.exnref()),\n            _ => unimplemented!(\"vm_exceptionref is only implemented for the sys backend\"),\n        }\n    }\n\n    /// Creates a new `Exception` from a `VMExceptionRef`.\n    #[inline]\n    pub fn from_vm_exceptionref(exnref: VMExceptionRef) -> Self {\n        match exnref {\n            #[cfg(feature = \"sys\")]\n            VMExceptionRef::Sys(s) => {\n                Self::Sys(crate::backend::sys::exception::Exception::from_exnref(s))\n            }\n            _ => unimplemented!(\"from_vm_exceptionref is only implemented for the sys backend\"),\n        }\n    }\n}\n","sourceCodeStart":70,"sourceCodeEnd":92,"githubUrl":"https://github.com/wasmerio/wasmer/blob/8c4b9ee9d33fb2068863fbb3d328683e7e6ff7f5/lib/api/src/entities/exception/inner.rs#L70-L92","documentation":"Error \"from_vm_exceptionref is only implemented for the sys backend\" thrown in wasmerio/wasmer.","triggerScenarios":"Thrown at lib/api/src/entities/exception/inner.rs:88 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8c4b9ee9d33fb2068863fbb3d328683e7e6ff7f5","analyzedAt":"2026-09-01T23:06:31.009Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-09T06:17:21.866Z"}