fix(lib): make ControlError public

This commit is contained in:
Sean McArthur
2016-06-14 11:24:28 -07:00
parent dabe3ac0b1
commit ad9c580e9a

View File

@@ -49,7 +49,7 @@ extern crate test;
pub use url::Url; pub use url::Url;
pub use client::Client; pub use client::Client;
pub use error::{Result, Error}; pub use error::{Result, Error};
pub use http::{Next, Encoder, Decoder, Control}; pub use http::{Next, Encoder, Decoder, Control, ControlError};
pub use header::Headers; pub use header::Headers;
pub use method::Method::{self, Get, Head, Post, Delete}; pub use method::Method::{self, Get, Head, Post, Delete};
pub use status::StatusCode::{self, Ok, BadRequest, NotFound}; pub use status::StatusCode::{self, Ok, BadRequest, NotFound};