Enum juniper::parser::ParseError
source · pub enum ParseError<'a> {
UnexpectedToken(Token<'a>),
UnexpectedEndOfFile,
LexerError(LexerError),
}
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
Trait Implementations
sourceimpl<'a> Debug for ParseError<'a>
impl<'a> Debug for ParseError<'a>
sourceimpl<'a> Display for ParseError<'a>
impl<'a> Display for ParseError<'a>
sourceimpl<'a> PartialEq<ParseError<'a>> for ParseError<'a>
impl<'a> PartialEq<ParseError<'a>> for ParseError<'a>
sourcefn eq(&self, other: &ParseError<'a>) -> bool
fn eq(&self, other: &ParseError<'a>) -> bool
impl<'a> StructuralPartialEq for ParseError<'a>
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>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more