From ccd38178ea661818cb25870211a9557fcbed47d9 Mon Sep 17 00:00:00 2001 From: Akulij Date: Mon, 28 Apr 2025 22:55:52 +0300 Subject: [PATCH] add todo to extend type in StorageError --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index cb34b31..29d2cd5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -88,6 +88,7 @@ impl BotController { pub enum BotError { DBError(#[from] DbError), TeloxideError(#[from] teloxide::RequestError), + // TODO: not a really good to hardcode types, better to extend it later StorageError(#[from] mongodb_storage::MongodbStorageError<>::Error>), }