mirror of
https://github.com/fafhrd91/actix-web
synced 2025-01-19 06:04:40 +01:00
workaround rustdoc bug for Error (#2489)
This commit is contained in:
parent
2d053b7036
commit
627c0dc22f
@ -1,6 +1,12 @@
|
|||||||
//! Error and Result module
|
//! Error and Result module
|
||||||
|
|
||||||
pub use actix_http::error::*;
|
/// This is meant to be a glob import of the whole error module, but rustdoc can't handle
|
||||||
|
/// shadowing `Error` type, so it is expanded manually.
|
||||||
|
/// See https://github.com/rust-lang/rust/issues/83375
|
||||||
|
pub use actix_http::error::{
|
||||||
|
BlockingError, ContentTypeError, DispatchError, HttpError, ParseError, PayloadError,
|
||||||
|
};
|
||||||
|
|
||||||
use derive_more::{Display, Error, From};
|
use derive_more::{Display, Error, From};
|
||||||
use serde_json::error::Error as JsonError;
|
use serde_json::error::Error as JsonError;
|
||||||
use serde_urlencoded::de::Error as FormDeError;
|
use serde_urlencoded::de::Error as FormDeError;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user