Skip to content

Commit

Permalink
Re-export all errors from the prelude
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeyla Hellyer committed Jun 15, 2017
1 parent a3e843b commit db0f025
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/prelude.rs
Expand Up @@ -19,3 +19,11 @@ pub use ::model::Mentionable;

#[cfg(feature="client")]
pub use ::client::{Client, ClientError as ClientError};
#[cfg(feature="gateway")]
pub use ::gateway::GatewayError;
#[cfg(feature="http")]
pub use ::http::HttpError;
#[cfg(feature="model")]
pub use ::model::ModelError;
#[cfg(feature="voice")]
pub use ::voice::VoiceError;

0 comments on commit db0f025

Please sign in to comment.