Enum ratel::error::Error [] [src]

pub enum Error {
    UnexpectedEndOfProgram,
    UnexpectedToken {
        start: usize,
        end: usize,
    },
}

Error type used by the tokenizer and the parser internally.

Variants

Fields

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.