Enum jql_runner::errors::JqlRunnerError
source · 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)>
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
source§fn eq(&self, other: &JqlRunnerError) -> bool
fn eq(&self, other: &JqlRunnerError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for JqlRunnerError
Auto Trait Implementations§
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