{"record":{"id":"6381ae34a764cdde","repo":"wasmerio/wasmer","slug":"exception-is-from-another-store","errorCode":null,"errorMessage":"Exception is from another Store","messagePattern":"Exception is from another Store","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"lib/api/src/backend/sys/entities/exception.rs","lineNumber":70,"sourceCode":"\n        Self { exnref }\n    }\n\n    pub fn exnref(&self) -> wasmer_vm::VMExceptionRef {\n        self.exnref.clone()\n    }\n\n    pub fn from_exnref(exnref: wasmer_vm::VMExceptionRef) -> Self {\n        Self { exnref }\n    }\n\n    pub fn is_from_store(&self, store: &impl AsStoreRef) -> bool {\n        self.exnref.0.store_id() == store.as_store_ref().objects().id()\n    }\n\n    pub fn tag(&self, store: &impl AsStoreRef) -> crate::sys::tag::Tag {\n        if !self.is_from_store(store) {\n            panic!(\"Exception is from another Store\");\n        }\n        let ctx = store.as_store_ref().objects().as_sys();\n        let exception = self.exnref.0.get(ctx);\n        let tag_handle = exception.tag();\n        crate::sys::tag::Tag {\n            handle: unsafe { StoreHandle::from_internal(ctx.id(), tag_handle) },\n        }\n    }\n\n    pub fn payload(&self, store: &mut impl AsStoreMut) -> Vec<Value> {\n        if !self.is_from_store(store) {\n            panic!(\"Exception is from another Store\");\n        }\n        let ctx = store.as_store_ref().objects().as_sys();\n        let exception = self.exnref.0.get(ctx);\n        let params_ty = exception.tag().get(ctx).signature.params().to_vec();\n        let payload_ptr = exception.payload();\n","sourceCodeStart":52,"sourceCodeEnd":88,"githubUrl":"https://github.com/wasmerio/wasmer/blob/8c4b9ee9d33fb2068863fbb3d328683e7e6ff7f5/lib/api/src/backend/sys/entities/exception.rs#L52-L88","documentation":"Error \"Exception is from another Store\" thrown in wasmerio/wasmer.","triggerScenarios":"Thrown at lib/api/src/backend/sys/entities/exception.rs:70 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"}