Prelude: Support anyhow

This commit is contained in:
Natsu Kagami 2020-09-02 17:50:26 -04:00
parent 1e40e54f17
commit 82a3b5a548
No known key found for this signature in database
GPG key ID: F17543D4B9424B94
3 changed files with 11 additions and 0 deletions

View file

@ -12,6 +12,9 @@ pub use args::{Duration, UsernameArg};
pub use pagination::Pagination;
pub use reaction_watch::{ReactionHandler, ReactionWatcher};
/// Re-export the anyhow errors
pub use anyhow::{Error, Result};
/// The global app data.
pub type AppData = Arc<RwLock<TypeMap>>;