Enum gurgle::error::CompileError [−][src]
pub enum CompileError { InvalidSyntax(String), ParseNumberError(ParseIntError), DiceRollOrSidedNegative, DiceRollTimesLimitExceeded, DiceSidedCountLimitExceeded, ItemCountLimitExceeded, NumberItemOutOfRange, }
Expand description
Compile string to a gurgle command failed
Variants
Invalid syntax
Tuple Fields of InvalidSyntax
0: String
Contains invalid number
Tuple Fields of ParseNumberError
Dice roll or sided is negative
Roll dice too much times
Dice have too many sides
Too many items in expression
Number item out of range
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CompileError
impl Send for CompileError
impl Sync for CompileError
impl Unpin for CompileError
impl UnwindSafe for CompileError
Blanket Implementations
Mutably borrows from an owned value. Read more