pub enum JqlParserError {
EmptyInputError,
ParsingError {
tokens: String,
unparsed: String,
},
TruncateError(String),
UnknownError,
}
Expand description
Error type returned by the parser.
Variants§
EmptyInputError
Empty input error.
ParsingError
Parsing error.
TruncateError(String)
Truncate error.
UnknownError
Unknown error.
Trait Implementations§
Source§impl Debug for JqlParserError
impl Debug for JqlParserError
Source§impl Display for JqlParserError
impl Display for JqlParserError
Source§impl Error for JqlParserError
impl Error for JqlParserError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for JqlParserError
impl PartialEq for JqlParserError
impl StructuralPartialEq for JqlParserError
Auto Trait Implementations§
impl Freeze for JqlParserError
impl RefUnwindSafe for JqlParserError
impl Send for JqlParserError
impl Sync for JqlParserError
impl Unpin for JqlParserError
impl UnwindSafe for JqlParserError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more