forked from projectmoon/tenebrous-dicebot
Less verbose errors from internal dice parsing errors.
This commit is contained in:
parent
39e6eb9b46
commit
d2642d1fd3
|
@ -17,7 +17,7 @@ pub enum DiceParsingError {
|
||||||
#[error("extraneous input detected")]
|
#[error("extraneous input detected")]
|
||||||
UnconsumedInput,
|
UnconsumedInput,
|
||||||
|
|
||||||
#[error("parser error: {0}")]
|
#[error("{0}")]
|
||||||
InternalParseError(#[from] combine::error::StringStreamError),
|
InternalParseError(#[from] combine::error::StringStreamError),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue