{"record":{"id":"4e925c9de3b42de7","repo":"DioxusLabs/dioxus","slug":"application-bundle-format-exited-with-error","errorCode":null,"errorMessage":"Application [{bundle_format}] exited with error: {status}","messagePattern":"Application \\[(.+?)\\] exited with error: (.+?)","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"packages/cli/src/cli/run.rs","lineNumber":154,"sourceCode":"                        BuilderUpdate::CompilerMessage { message } => {\n                            print!(\"{message}\");\n                        }\n                        BuilderUpdate::BuildFailed { err } => {\n                            tracing::error!(\"❌ Build failed: {}\", err);\n                            return Err(err);\n                        }\n                        BuilderUpdate::StdoutReceived { msg } => {\n                            tracing::info!(\"[{bundle_format}] {msg}\");\n                        }\n                        BuilderUpdate::StderrReceived { msg } => {\n                            tracing::error!(\"[{bundle_format}] {msg}\");\n                        }\n                        BuilderUpdate::ProcessExited { status } => {\n                            if !status.success() {\n                                tracing::error!(\n                                    \"Application [{bundle_format}] exited with error: {status}\"\n                                );\n                                bail!(\"Application [{bundle_format}] exited with error: {status}\");\n                            }\n\n                            break;\n                        }\n                        BuilderUpdate::ProcessWaitFailed { err } => {\n                            return Err(err.into());\n                        }\n                        BuilderUpdate::ProfilePhase { .. } => {}\n                        BuilderUpdate::DepInfoDiscovered { .. } => {}\n                    }\n                }\n                ServeUpdate::Exit { .. } => break,\n                ServeUpdate::NewConnection { .. } => {}\n                ServeUpdate::WsMessage { .. } => {}\n                ServeUpdate::FilesChanged { .. } => {}\n                ServeUpdate::OpenApp => {}\n                ServeUpdate::RequestRebuild => {}\n                ServeUpdate::CycleHotreloadMode => {}","sourceCodeStart":136,"sourceCodeEnd":172,"githubUrl":"https://github.com/DioxusLabs/dioxus/blob/24f6a829df0dfa203961a98ea4cae21c2ff27e28/packages/cli/src/cli/run.rs#L136-L172","documentation":"Exit-status report in the run loop: the spawned application process for a bundle format terminated (ProcessExited) with a non-success ExitStatus, so its output is treated as an erroneous run. This reports the app's own exit code — the application crashed or exited non-zero — not a build failure; the distinguishing input is the child process's exit status.","triggerScenarios":"Thrown at packages/cli/src/cli/run.rs:154 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["The application exited with an error status. Check the application logs and fix the runtime failure."],"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-14T05:17:10.506Z"}