pub enum JqlRunnerError {
EmptyQueryError,
FlattenError(Value),
IndexOutOfBoundsError {
index: usize,
parent: Value,
},
InvalidArrayError(Value),
InvalidObjectError(Value),
KeyNotFoundError {
key: String,
parent: Value,
},
MultiKeyNotFoundError {
keys: Vec<String>,
parent: Value,
},
ParsingError(JqlParserError),
PipeInError(Value),
PipeOutError,
RangeOutOfBoundsError {
start: usize,
end: usize,
parent: Value,
},
UnknownError,
}
Expand description
Error type returned by the runner.
Variants§
EmptyQueryError
Empty query error.
FlattenError(Value)
Flatten error.
IndexOutOfBoundsError
Index out of bounds error.
InvalidArrayError(Value)
Invalid array error.
InvalidObjectError(Value)
Invalid object error.
KeyNotFoundError
Key not found error.
MultiKeyNotFoundError
Keys not found error.
ParsingError(JqlParserError)
Parsing error.
PipeInError(Value)
Pipe in error.
PipeOutError
Pipe in error.
RangeOutOfBoundsError
Range out of bounds error.
UnknownError
Unknown error.
Trait Implementations§
Source§impl Debug for JqlRunnerError
impl Debug for JqlRunnerError
Source§impl Display for JqlRunnerError
impl Display for JqlRunnerError
Source§impl Error for JqlRunnerError
impl Error for JqlRunnerError
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 From<JqlParserError> for JqlRunnerError
impl From<JqlParserError> for JqlRunnerError
Source§fn from(source: JqlParserError) -> Self
fn from(source: JqlParserError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for JqlRunnerError
impl PartialEq for JqlRunnerError
impl StructuralPartialEq for JqlRunnerError
Auto Trait Implementations§
impl Freeze for JqlRunnerError
impl RefUnwindSafe for JqlRunnerError
impl Send for JqlRunnerError
impl Sync for JqlRunnerError
impl Unpin for JqlRunnerError
impl UnwindSafe for JqlRunnerError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more