Only expose one error type in crate root
This commit is contained in:
parent
2358c8636e
commit
34796c90d4
8 changed files with 14 additions and 9 deletions
|
|
@ -38,8 +38,10 @@ pub use client::{
|
|||
};
|
||||
mod component;
|
||||
pub use crate::component::Component;
|
||||
mod error;
|
||||
pub use crate::error::{AuthError, Error, ProtocolError};
|
||||
/// Detailed error types
|
||||
pub mod error;
|
||||
/// Generic tokio_xmpp Error
|
||||
pub use crate::error::Error;
|
||||
|
||||
// Re-exports
|
||||
pub use minidom;
|
||||
|
|
|
|||
Loading…
Reference in a new issue