Enum juniper::parser::ParseError
[−]
[src]
pub enum ParseError<'a> { UnexpectedToken(Token<'a>), UnexpectedEndOfFile, LexerError(LexerError), }
Error while parsing a GraphQL query
Variants
UnexpectedToken(Token<'a>)
An unexpected token occurred in the source
UnexpectedEndOfFile
The input source abruptly ended
LexerError(LexerError)
An error during tokenization occurred
Trait Implementations
impl<'a> Debug for ParseError<'a>
[src]
impl<'a> PartialEq for ParseError<'a>
[src]
fn eq(&self, __arg_0: &ParseError<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ParseError<'a>) -> bool
This method tests for !=
.