Hmbown/CodeWhale · error

cannot resolve the current Codewhale route: {e}

Error message

cannot resolve the current Codewhale route: {e}

What it means

Error "cannot resolve the current Codewhale route: {e}" thrown in Hmbown/CodeWhale.

Source

Thrown at crates/tui/src/integrations/cli.rs:259

    match command {
        DshIntegrationCommand::Status { json } => {
            let (_paths, report) = status_report(config, workspace, false)?;
            if json {
                println!("{}", serde_json::to_string_pretty(&report)?);
            } else {
                print_status(&report);
            }
            Ok(())
        }
        DshIntegrationCommand::Plan {
            json,
            profile,
            allow_full_access,
            skin,
        } => {
            let (paths, report) = status_report(config, workspace, allow_full_access)?;
            let identity = dsh::codewhale_route_identity(config, workspace)
                .map_err(|e| anyhow::anyhow!("cannot resolve the current Codewhale route: {e}"))?;
            let plan = dsh::plan(
                &paths,
                &report.detection,
                &identity,
                &profile,
                allow_full_access,
                skin,
            )?;
            if json {
                println!("{}", serde_json::to_string_pretty(&plan)?);
            } else {
                print_plan(&plan, "connect");
                if !report.detection.installed() {
                    println!(
                        "  warning: dsh is not on PATH; the plan is valid but launch will fail"
                    );
                }
            }

View on GitHub (pinned to 8880682c63)

When it happens

Trigger: Thrown at crates/tui/src/integrations/cli.rs:259 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of Hmbown/CodeWhale@8880682c63 (2026-08-16). Data as JSON: /api/errors/a79164e275963ce9. Report an issue: GitHub.