Enum juniper::ParseError
source · [−]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
UnexpectedEndOfFile
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 !=
.