Function wasmtime_wasi_http::hyper_response_error
source · pub fn hyper_response_error(err: Error) -> ErrorCode
Expand description
Translate a hyper::Error
to a wasi-http ErrorCode
in the context of a response.
pub fn hyper_response_error(err: Error) -> ErrorCode
Translate a hyper::Error
to a wasi-http ErrorCode
in the context of a response.