add todo to extend type in StorageError
This commit is contained in:
parent
ec49ab24b6
commit
ccd38178ea
@ -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>),
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user