forked from projectmoon/tenebrous-dicebot
Fix database error name. Improve dice number conversion error message.
This commit is contained in:
parent
b7ccd4e7ad
commit
932e06ad91
|
@ -68,7 +68,7 @@ pub enum BotError {
|
|||
VariablesNotSupported,
|
||||
|
||||
#[error("database error")]
|
||||
DatabaseErrror(#[from] sled::Error),
|
||||
DatabaseError(#[from] sled::Error),
|
||||
|
||||
#[error("too many commands or message was too large")]
|
||||
MessageTooLarge,
|
||||
|
|
|
@ -19,7 +19,7 @@ pub enum DiceParsingError {
|
|||
#[error("{0}")]
|
||||
InternalParseError(#[from] combine::error::StringStreamError),
|
||||
|
||||
#[error("number conversion error")]
|
||||
#[error("number parsing error (too large?)")]
|
||||
ConversionError,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue