Skip to main content

broker_error_status

Function broker_error_status 

Source
pub fn broker_error_status(message: &str) -> Option<u16>
Expand description

Extract the upstream HTTP status from a redacted broker proxy error (… provider request failed: <status> <reason>). Returns only a parsed numeric status — never any provider-authored text.