diff --git a/tokio-postgres/src/error.rs b/tokio-postgres/src/error.rs index c4737803..af4e064b 100644 --- a/tokio-postgres/src/error.rs +++ b/tokio-postgres/src/error.rs @@ -7,7 +7,7 @@ use std::fmt; use Connection; #[doc(inline)] -pub use postgres_shared::error::*; +pub use postgres_shared::error::{DbError, ConnectError, ErrorPosition, Severity, SqlState}; /// A runtime error. #[derive(Debug)]