create AdminMisconfiguration error

This commit is contained in:
Akulij 2025-05-09 00:21:54 +03:00
parent c69b6595fd
commit 27a829b784

View File

@ -114,6 +114,7 @@ pub enum BotError {
StorageError(#[from] mongodb_storage::MongodbStorageError<<Json as Serializer<State>>::Error>), StorageError(#[from] mongodb_storage::MongodbStorageError<<Json as Serializer<State>>::Error>),
MsgTooOld(String), MsgTooOld(String),
BotLogicError(String), BotLogicError(String),
AdminMisconfiguration(String),
} }
pub type BotResult<T> = Result<T, BotError>; pub type BotResult<T> = Result<T, BotError>;