aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-06-14 21:38:08 -0700
committerZeyla Hellyer <[email protected]>2017-06-14 21:38:08 -0700
commitdb0f025d154e4b6212dd9340c1b789b3c711a24a (patch)
tree7cada5e28f30b7d982779c37449b6a7484a37542
parentCall send_files from http::send_file (diff)
downloadserenity-db0f025d154e4b6212dd9340c1b789b3c711a24a.tar.xz
serenity-db0f025d154e4b6212dd9340c1b789b3c711a24a.zip
Re-export all errors from the prelude
-rw-r--r--src/prelude.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/prelude.rs b/src/prelude.rs
index f4e7a2a..3c9ef85 100644
--- a/src/prelude.rs
+++ b/src/prelude.rs
@@ -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;