Enum lib_xch::handler::ErrorCases
[−]
[src]
pub enum ErrorCases { IllegalEquation, Overflow, MatchError, SplitError, NoTokens, NotFound, NoAnswer, ParseError, Unsolvable, AbsError, NegError, UndefinedFrac, }
All the Error Types.
- more or less than 1
=
or not allowed chars. - overflow.
- brackets are not matched.
- no formulas to split.
- no tokens to get.
- not found in
elements_table
. - no answer.
- Can't parse into
T
. - Equation set unsolvable.
checked_abs()
error.checked_neg()
error.- The denominator of a fraction is 0.
Variants
IllegalEquation
Overflow
MatchError
SplitError
NoTokens
NotFound
NoAnswer
ParseError
Unsolvable
AbsError
NegError
UndefinedFrac
Trait Implementations
impl PartialEq for ErrorCases
[src]
fn eq(&self, __arg_0: &ErrorCases) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.