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> Debug for ParseError<'a>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a> PartialEq for ParseError<'a>
[src]
impl<'a> PartialEq for ParseError<'a>
fn eq(&self, other: &ParseError<'a>) -> bool
[src]
fn eq(&self, other: &ParseError<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ParseError<'a>) -> bool
[src]
fn ne(&self, other: &ParseError<'a>) -> bool
This method tests for !=
.
impl<'a> Display for ParseError<'a>
[src]
impl<'a> Display for ParseError<'a>
Auto Trait Implementations
impl<'a> Send for ParseError<'a>
impl<'a> Send for ParseError<'a>
impl<'a> Sync for ParseError<'a>
impl<'a> Sync for ParseError<'a>