Enum lib_xch::handler::ErrorCases [] [src]

pub enum ErrorCases {
    IllegalEquation,
    I32Overflow,
    MatchError,
    SplitError,
    NoTokens,
    NotFound,
    NoAnswer,
    I32ParseError,
    FreeVariables,
    Unsolvable,
    I32AbsError,
}

All the Error Types.

  • more or less than 1 =; not allowed chars; too many formulas.
  • i32 overflow.
  • brackets are not matched.
  • no formulas to split.
  • no tokens to get.
  • not found in elements_table.
  • no answer.
  • Can't parse into i32.
  • Contians Free Variables.
  • Equation set unsolvable.
  • i32 checked_abs() error.

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.