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

Trait Implementations

impl PartialEq for ErrorCases
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Debug for ErrorCases
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for ErrorCases

impl Sync for ErrorCases