pub fn humanize_proxy_status_error(
provider: &str,
status: u16,
label: Option<&str>,
) -> Option<String>Expand description
User-actionable message for a broker-proxied non-2xx response when the
(status, vetted label) pair is one we understand; None otherwise so the
caller keeps the raw provider request failed: … prefix.
provider is a runtime-owned key (e.g. kimi-code, xai-auth) — never
provider bytes. label must be one of OUR constants (typically from
vetted_proxy_error_label); an unknown label is treated as absent.