mirror of https://github.com/fafhrd91/actix-web
re-export http::Error in error mod
This commit is contained in:
parent
f462aaa7b6
commit
ea5de27fa9
|
@ -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
|
||||||
///
|
///
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue