Enum lambda_calculus::parser::Error [] [src]

pub enum Error {
    InvalidCharacter((usize, char)),
    InvalidExpression,
    EmptyExpression,
}

A type to represent a parsing error.

Variants

an invalid character was encountered

the expression is invalid

the expression is empty

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Error
[src]

[src]

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

[src]

This method tests for !=.