pub fn HttpVersionNotSupported( err: impl StdError + Send + Sync + 'static) -> Error
Wraps any error into Error and the status code is StatusCode::HTTP_VERSION_NOT_SUPPORTED.
Error
StatusCode::HTTP_VERSION_NOT_SUPPORTED