pub fn map_parse_err(ctx: &str, e: &Error) -> CliErrorExpand description
Map a serde_json parse error into a domain CliError with context.
Takes &serde_json::Error (Display/line/column only) — never consumes the
error value when the caller still needs it (rules: smallest permission).