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.
pub fn hyper_request_error(err: Error) -> ErrorCode
Translate a hyper::Error
to a wasi-http ErrorCode
in the context of a request.