Enum reproto_lexer::errors::Error [] [src]

pub enum Error {
    UnterminatedString {
        start: usize,
    },
    UnterminatedEscape {
        start: usize,
    },
    InvalidEscape {
        message: &'static str,
        pos: usize,
    },
    UnterminatedCodeBlock {
        start: usize,
    },
    InvalidNumber {
        message: &'static str,
        pos: usize,
    },
    Unexpected {
        pos: usize,
    },
}

Variants

Fields of UnterminatedString

Fields of UnterminatedEscape

Fields of InvalidEscape

Fields of UnterminatedCodeBlock

Fields of InvalidNumber

Fields of Unexpected

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter. Read more

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 !=.

impl Eq for Error
[src]

Auto Trait Implementations

impl Send for Error

impl Sync for Error