{"record":{"id":"6f55a08499fbc81e","repo":"DioxusLabs/dioxus","slug":"error","errorCode":null,"errorMessage":"{error}","messagePattern":"\\{error\\}","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/oracle/src/renderer.rs","lineNumber":1044,"sourceCode":"        if self.is_stack_clean() {\n            Ok(())\n        } else {\n            Err(format!(\n                \"renderer mutation stack is not clean: expected only document root, got {} extra node(s)\",\n                self.pending_stack_nodes()\n            ))\n        }\n    }\n\n    /// Compare this renderer's snapshot to an expected snapshot, returning whether they match.\n    pub fn snapshot_eq(&self, expected: &[SnapshotNode]) -> bool {\n        self.snapshot() == expected\n    }\n\n    /// Assert that this renderer's snapshot matches an expected snapshot.\n    pub fn assert_snapshot_eq(&self, expected: &[SnapshotNode]) {\n        if let Err(error) = self.check_snapshot_eq(expected) {\n            panic!(\"{error}\");\n        }\n    }\n\n    /// Check that this renderer's snapshot matches an expected snapshot.\n    pub fn check_snapshot_eq(&self, expected: &[SnapshotNode]) -> Result<(), String> {\n        let actual = self.snapshot();\n        if actual == expected {\n            Ok(())\n        } else {\n            Err(format_snapshot_mismatch(\n                \"renderer snapshot diverged from expected tree\",\n                &actual,\n                expected,\n            ))\n        }\n    }\n\n    /// Assert that this renderer's snapshot matches a fresh rebuild of `app`.","sourceCodeStart":1026,"sourceCodeEnd":1062,"githubUrl":"https://github.com/DioxusLabs/dioxus/blob/24f6a829df0dfa203961a98ea4cae21c2ff27e28/packages/oracle/src/renderer.rs#L1026-L1062","documentation":"A generic error-formatting panic in the oracle test renderer that forwards the formatted error string. It serves as the catch-all failure point where the underlying {error} text describes the actual assertion or rendering failure in test tooling.","triggerScenarios":"Thrown at packages/oracle/src/renderer.rs:1044 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["An error was returned by the oracle renderer. Read the embedded error text and fix the underlying query or DOM state it reports."],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"24f6a829df0dfa203961a98ea4cae21c2ff27e28","analyzedAt":"2026-08-23T07:10:14.078Z","contentChangedAt":"2026-08-23T07:10:14.078Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}