nikivdev/code · error

{app} exited with status {status}

Error message

{app} exited with status {status}

What it means

Error "{app} exited with status {status}" thrown in nikivdev/code.

Source

Thrown at src/commit.rs:11555

    }

    repo_root
        .file_name()
        .and_then(|n| n.to_str())
        .unwrap_or("project")
        .to_string()
}

fn open_in_zed_preview(path: &Path) -> Result<()> {
    // Prefer the local Zed.app fork and fall back to Preview if that app is not installed.
    let try_open = |app: &str| -> Result<()> {
        let status = Command::new("open")
            .args(["-a", app])
            .arg(path)
            .status()
            .with_context(|| format!("failed to open {app}"))?;
        if !status.success() {
            bail!("{app} exited with status {status}");
        }
        Ok(())
    };

    try_open("/Applications/Zed.app")
}

fn parse_pr_edit_markdown(text: &str) -> Result<(String, String)> {
    // Expected shape:
    //   # Title
    //   <one line title>
    //
    //   # Description
    //   <markdown body...>
    let mut title: Option<String> = None;
    let mut desc_lines: Vec<String> = Vec::new();

    let mut lines = text.lines().peekable();

View on GitHub (pinned to a747e741ae)

When it happens

Trigger: Thrown at src/commit.rs:11555 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of nikivdev/code@a747e741ae (2026-09-01). Data as JSON: /api/errors/068f3c8b3e45ff84. Report an issue: GitHub.