Only expose one error type in crate root

This commit is contained in:
xmppftw xmppftw 2024-08-04 17:32:12 +02:00 • committed by Link Mauve
commit 34796c90d4
8 changed files with 14 additions and 9 deletions

View file

@ -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;