Enum juniper::parser::ParseError [−][src]
pub enum ParseError<'a> { UnexpectedToken(Token<'a>), UnexpectedEndOfFile, LexerError(LexerError), ExpectedScalarError(&'static str), }
Expand description
Error while parsing a GraphQL query
Variants
UnexpectedToken(Token<'a>)
An unexpected token occurred in the source
The input source abruptly ended
LexerError(LexerError)
An error during tokenization occurred
ExpectedScalarError(&'static str)
A scalar of unexpected type occurred in the source
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for ParseError<'a>
impl<'a> Send for ParseError<'a>
impl<'a> Sync for ParseError<'a>
impl<'a> Unpin for ParseError<'a>
impl<'a> UnwindSafe for ParseError<'a>