Enum server::parse::parser::ParseError [] [src]

pub enum ParseError {
    LexError(LexError),
    UnknownError,
    EmptyQueryError,
    UnexpectedEoq,
    InvalidEoq,
    WrongKeyword(Span),
    WrongToken(Span),
    DatatypeMissmatch(Span),
    NotAKeyword(Span),
    NotAToken(Span),
    NotAWord(Span),
    NotADatatype(Span),
    NotANumber(Span),
    NotALiteral(Span),
    ColumnCountMissmatch,
    MissingParenthesis(Span),
    LimitError,
    ReservedKeyword(Span),
    CommentIsNoString,
    DebugError(String),
}

Variants

LexError
UnknownError
EmptyQueryError
UnexpectedEoq
InvalidEoq
WrongKeyword
WrongToken
DatatypeMissmatch
NotAKeyword
NotAToken
NotAWord
NotADatatype
NotANumber
NotALiteral
ColumnCountMissmatch
MissingParenthesis
LimitError
ReservedKeyword
CommentIsNoString
DebugError

Trait Implementations

impl From<LexError> for ParseError

fn from(error: LexError) -> ParseError

Derived Implementations

impl PartialEq for ParseError

fn eq(&self, __arg_0: &ParseError) -> bool

fn ne(&self, __arg_0: &ParseError) -> bool

impl Debug for ParseError

fn fmt(&self, __arg_0: &mut Formatter) -> Result