{"record":{"id":"b17ac3a653c91cd6","repo":"cjpais/Handy","slug":"failed-to-create-menu","errorCode":null,"errorMessage":"failed to create menu","messagePattern":"failed to create menu","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src-tauri/src/tray.rs","lineNumber":302,"sourceCode":"        TrayIconState::Recording | TrayIconState::Transcribing => {\n            let cancel_i = MenuItem::with_id(app, \"cancel\", &strings.cancel, true, None::<&str>)\n                .expect(\"failed to create cancel item\");\n            Menu::with_items(\n                app,\n                &[\n                    &version_i,\n                    &separator(),\n                    &cancel_i,\n                    &separator(),\n                    &copy_last_transcript_i,\n                    &separator(),\n                    &settings_i,\n                    &check_updates_i,\n                    &separator(),\n                    &quit_i,\n                ],\n            )\n            .expect(\"failed to create menu\")\n        }\n        TrayIconState::Idle => Menu::with_items(\n            app,\n            &[\n                &version_i,\n                &separator(),\n                &copy_last_transcript_i,\n                &separator(),\n                &model_submenu,\n                &unload_model_i,\n                &separator(),\n                &settings_i,\n                &check_updates_i,\n                &separator(),\n                &quit_i,\n            ],\n        )\n        .expect(\"failed to create menu\"),","sourceCodeStart":284,"sourceCodeEnd":320,"githubUrl":"https://github.com/cjpais/Handy/blob/98a4d80cce8ad41efec2a419b59d9e81229a35d7/src-tauri/src/tray.rs#L284-L320","documentation":"Error \"failed to create menu\" thrown in cjpais/Handy.","triggerScenarios":"Thrown at src-tauri/src/tray.rs:302 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":"98a4d80cce8ad41efec2a419b59d9e81229a35d7","analyzedAt":"2026-08-16T20:58:09.966Z","schemaVersion":2},"datasetVersion":"2026-08-16T23:17:17.608Z"}