Function hyper_request_error

Source
pub fn hyper_request_error(err: Error) -> ErrorCode
Expand description

Translate a [hyper::Error] to a wasi-http ErrorCode in the context of a request.