Enum zen_expression::IsolateError 
source · pub enum IsolateError {
    LexerError {
        source: LexerError,
    },
    ParserError {
        source: ParserError,
    },
    CompilerError {
        source: CompilerError,
    },
    VMError {
        source: VMError,
    },
    ValueCastError,
    ReferenceError,
    MissingContextReference,
}Expand description
Errors which happen within isolate or during evaluation
Variants§
LexerError
Fields
§
source: LexerErrorParserError
Fields
§
source: ParserErrorCompilerError
Fields
§
source: CompilerErrorVMError
ValueCastError
ReferenceError
MissingContextReference
Trait Implementations§
source§impl Debug for IsolateError
 
impl Debug for IsolateError
source§impl Display for IsolateError
 
impl Display for IsolateError
source§impl Error for IsolateError
 
impl Error for IsolateError
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()
Auto Trait Implementations§
impl Freeze for IsolateError
impl RefUnwindSafe for IsolateError
impl Send for IsolateError
impl Sync for IsolateError
impl Unpin for IsolateError
impl UnwindSafe for IsolateError
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