Fix database error name. Improve dice number conversion error message.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
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