Function http_request_error

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

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