Enum calc::CalcError [] [src]

pub enum CalcError {
    DivideByZero,
    InvalidNumber(String),
    InvalidOperator(char),
    UnrecognizedToken(String),
    UnexpectedToken(String, &'static str),
    UnexpectedEndOfInput,
    UnmatchedParenthesis,
    IO(Error),
}

Variants

Trait Implementations

impl Debug for CalcError
[src]

Formats the value using the given formatter.

impl From<Error> for CalcError
[src]

Performs the conversion.

impl From<ParseFloatError> for CalcError
[src]

Performs the conversion.