pub fn failed(
response: &mut Response,
error: ProxyError,
next_hop: Option<&str>,
details: Option<&str>,
)Available on non-WebAssembly only.
Expand description
A hop that got no usable response: error=…. A 502 for a backend that
didn’t answer in time becomes 504 Gateway Timeout, as nginx answers
(since 18.27.0).