MCPcopy Create free account
hub / github.com/clawshell/clawshell / is_missing_config_path_error

Function is_missing_config_path_error

src/openclaw_cli.rs:625–635  ·  view source on GitHub ↗
(message: &str)

Source from the content-addressed store, hash-verified

623}
624
625fn is_missing_config_path_error(message: &str) -> bool {
626 let lower = message.to_ascii_lowercase();
627 if lower.contains("missing required argument 'path'") {
628 return false;
629 }
630 lower.contains("path not found")
631 || lower.contains("not found")
632 || lower.contains("does not exist")
633 || lower.contains("missing key")
634 || lower.contains("missing path")
635}
636
637fn nested_value_or_empty_object(json: &Value, path: &[&str]) -> Value {
638 let mut current = json;

Calls

no outgoing calls

Tested by

no test coverage detected