Enum juniper::parser::ParseError [] [src]

pub enum ParseError<'a> {
    UnexpectedToken(Token<'a>),
    UnexpectedEndOfFile,
    LexerError(LexerError),
}

Error while parsing a GraphQL query

Variants

An unexpected token occurred in the source

The input source abruptly ended

An error during tokenization occurred

Trait Implementations

impl<'a> Debug for ParseError<'a>
[src]

Formats the value using the given formatter.

impl<'a> PartialEq for ParseError<'a>
[src]

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

This method tests for !=.

impl<'a> Display for ParseError<'a>
[src]

Formats the value using the given formatter.