re-export http::Error in error mod

This commit is contained in:
Rob Ede 2021-04-19 02:00:46 +01:00
parent f462aaa7b6
commit ea5de27fa9
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
2 changed files with 4 additions and 3 deletions

View File

@ -10,12 +10,13 @@ use std::{
use bytes::BytesMut; use bytes::BytesMut;
use derive_more::{Display, Error, From}; use derive_more::{Display, Error, From};
use http::uri::InvalidUri; use http::{header, uri::InvalidUri, StatusCode};
use http::{header, Error as HttpError, StatusCode};
use serde::de::value::Error as DeError; use serde::de::value::Error as DeError;
use crate::{body::Body, helpers::Writer, Response, ResponseBuilder}; use crate::{body::Body, helpers::Writer, Response, ResponseBuilder};
pub use http::Error as HttpError;
/// A specialized [`std::result::Result`] /// A specialized [`std::result::Result`]
/// for actix web operations /// for actix web operations
/// ///

View File

@ -4,7 +4,7 @@
## 0.1.0-beta.2 - 2021-04-17 ## 0.1.0-beta.2 - 2021-04-17
* * No significant changes from `0.1.0-beta.1`. * No significant changes from `0.1.0-beta.1`.
## 0.1.0-beta.1 - 2021-04-02 ## 0.1.0-beta.1 - 2021-04-02