From 5aad8e24c74beb4c5c2b0df118a67f5005b5cc23 Mon Sep 17 00:00:00 2001 From: William Myers Date: Thu, 13 Aug 2020 17:24:35 -0700 Subject: [PATCH] Re-export all error types from awc (#1621) --- CHANGES.md | 4 +++- src/lib.rs | 4 +--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index adc343050..2b079ab03 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 8776a62b5..3f65e49dd 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, };