add todo to extend type in StorageError

This commit is contained in:
Akulij 2025-04-28 22:55:52 +03:00
parent ec49ab24b6
commit ccd38178ea

View File

@ -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<<Json as Serializer<State>>::Error>),
}