diff --git a/CHANGES.md b/CHANGES.md index adc34305..2b079ab0 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -8,6 +8,7 @@ destructuring. [#1594] * `ServiceRequest::app_data` allows retrieval of non-Data data without splitting into parts to access `HttpRequest` which already allows this. [#1618] +* Re-export all error types from `awc`. [#1621] * MSRV is now 1.42.0. ### Fixed @@ -16,7 +17,8 @@ [#1594]: https://github.com/actix/actix-web/pull/1594 [#1609]: https://github.com/actix/actix-web/pull/1609 [#1610]: https://github.com/actix/actix-web/pull/1610 -[#1618]: https://github.com/actix/actix-web/pull/1610 +[#1618]: https://github.com/actix/actix-web/pull/1618 +[#1621]: https://github.com/actix/actix-web/pull/1621 ## 3.0.0-beta.1 - 2020-07-13 diff --git a/src/lib.rs b/src/lib.rs index 8776a62b..3f65e49d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -213,9 +213,7 @@ pub mod client { //! } //! ``` - pub use awc::error::{ - ConnectError, InvalidUrl, PayloadError, SendRequestError, WsClientError, - }; + pub use awc::error::*; pub use awc::{ test, Client, ClientBuilder, ClientRequest, ClientResponse, Connector, };