mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-05-24 17:20:49 +00:00
Prelude: Support anyhow
This commit is contained in:
parent
1e40e54f17
commit
82a3b5a548
3 changed files with 11 additions and 0 deletions
|
@ -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>>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue