Enum meval::Error [] [src]

pub enum Error {
    UnknownVariable(String),
    Function(StringFuncEvalError),
    ParseError(ParseError),
    RPNError(RPNError),
}

An error produced during parsing or evaluation.

Variants

An error returned by the parser.

The shunting-yard algorithm returned an error.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Error
[src]

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

This method tests for !=.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl From<ParseError> for Error
[src]

Performs the conversion.

impl From<RPNError> for Error
[src]

Performs the conversion.

impl Error for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more