Enum jexl_eval::error::EvaluationError
source · [−]pub enum EvaluationError<'a> {
ParseError(Box<ParseError<usize, Token<'a>, &'a str>>),
InvalidBinaryOp {
left: Value,
right: Value,
operation: OpCode,
},
UnknownTransform(String),
DuplicateObjectKey(String),
UndefinedIdentifier(String),
InvalidContext,
InvalidIndexType,
JSONError(Error),
CustomError(Error),
InvalidFilter,
}
Variants
ParseError(Box<ParseError<usize, Token<'a>, &'a str>>)
InvalidBinaryOp
UnknownTransform(String)
DuplicateObjectKey(String)
UndefinedIdentifier(String)
InvalidContext
InvalidIndexType
JSONError(Error)
CustomError(Error)
InvalidFilter
Trait Implementations
sourceimpl<'a> Debug for EvaluationError<'a>
impl<'a> Debug for EvaluationError<'a>
sourceimpl<'a> Display for EvaluationError<'a>
impl<'a> Display for EvaluationError<'a>
sourceimpl<'a> Error for EvaluationError<'a>
impl<'a> Error for EvaluationError<'a>
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl<'a> From<Error> for EvaluationError<'a>
impl<'a> From<Error> for EvaluationError<'a>
sourceimpl<'a> From<Error> for EvaluationError<'a>
impl<'a> From<Error> for EvaluationError<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for EvaluationError<'a>
impl<'a> Send for EvaluationError<'a>
impl<'a> Sync for EvaluationError<'a>
impl<'a> Unpin for EvaluationError<'a>
impl<'a> !UnwindSafe for EvaluationError<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more