diff --git a/src/main.rs b/src/main.rs index eef5a18..ebc4272 100644 --- a/src/main.rs +++ b/src/main.rs @@ -109,6 +109,7 @@ pub enum BotError { TeloxideError(#[from] teloxide::RequestError), // TODO: not a really good to hardcode types, better to extend it later StorageError(#[from] mongodb_storage::MongodbStorageError<>::Error>), + MsgTooOld(String), } pub type BotResult = Result;