pub enum JetroEngineError {
Json(Error),
Eval(EvalError),
}Expand description
Error returned by JetroEngine::collect_bytes and similar methods that
may fail during JSON parsing or during expression evaluation.
Variants§
Json(Error)
JSON parsing failed before evaluation could begin.
Eval(EvalError)
Expression evaluation failed (the JSON was valid but the query errored).
Trait Implementations§
Source§impl Debug for JetroEngineError
impl Debug for JetroEngineError
Source§impl Display for JetroEngineError
impl Display for JetroEngineError
Source§impl Error for JetroEngineError
impl Error for JetroEngineError
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<Error> for JetroEngineError
impl From<Error> for JetroEngineError
Auto Trait Implementations§
impl Freeze for JetroEngineError
impl !RefUnwindSafe for JetroEngineError
impl Send for JetroEngineError
impl Sync for JetroEngineError
impl Unpin for JetroEngineError
impl UnsafeUnpin for JetroEngineError
impl !UnwindSafe for JetroEngineError
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