Skip to main content

classify_error

Function classify_error 

Source
pub fn classify_error(plugin: &str, err: &OutboundError) -> (u16, String)
Expand description

Maps an OutboundError to a client-facing (status, message) pair used by the FaaS plugins’ error ports.