{"record":{"id":"9205db75b9e0d1d0","repo":"zeroclaw-labs/zeroclaw","slug":"remove-channel-name-edit-zeroclaw-config","errorCode":null,"errorMessage":"Remove channel '{name}' — edit ~/.zeroclaw/config.toml directly","messagePattern":"Remove channel '(.+?)' — edit ~/\\.zeroclaw/config\\.toml directly","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/channels/mod.rs","lineNumber":83,"sourceCode":"                    )\n                );\n            }\n            println!();\n            println!(\"{}\", get_required_cli_string(\"cli-channels-start-hint\"));\n            println!(\"{}\", get_required_cli_string(\"cli-channels-doctor-hint\"));\n            println!(\"{}\", get_required_cli_string(\"cli-channels-configure-hint\"));\n            Ok(())\n        }\n        crate::ChannelCommands::Add {\n            channel_type,\n            config: _,\n        } => {\n            anyhow::bail!(\n                \"Channel type '{channel_type}' — use `zeroclaw config set channels.{channel_type}.<alias>.<field>=<value>` to configure\"\n            );\n        }\n        crate::ChannelCommands::Remove { name } => {\n            anyhow::bail!(\"Remove channel '{name}' — edit ~/.zeroclaw/config.toml directly\");\n        }\n        crate::ChannelCommands::BindTelegram { identity, alias } => {\n            Box::pin(bind_telegram_identity(config, &identity, &alias)).await\n        }\n        crate::ChannelCommands::Send {\n            message,\n            channel_id,\n            recipient,\n        } => send_channel_message(config, &channel_id, &recipient, &message).await,\n    }\n}\n","sourceCodeStart":65,"sourceCodeEnd":95,"githubUrl":"https://github.com/zeroclaw-labs/zeroclaw/blob/88bb9c8533fc57ed7a03e36ca7c9ed2bf8336dcc/src/channels/mod.rs#L65-L95","documentation":"Error \"Remove channel '{name}' — edit ~/.zeroclaw/config.toml directly\" thrown in zeroclaw-labs/zeroclaw.","triggerScenarios":"Thrown at src/channels/mod.rs:83 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Edit ~/.zeroclaw/config.toml directly and remove the channel's table, then restart zeroclaw.","Back up config.toml before editing so the removal can be rolled back."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"88bb9c8533fc57ed7a03e36ca7c9ed2bf8336dcc","analyzedAt":"2026-08-23T01:07:41.857Z","schemaVersion":2},"datasetVersion":"2026-08-23T08:06:27.607Z"}