pub enum EvalError {
IOError(String, Error),
ParseError(String),
CompileError(CompileError),
ExecError(StackAction),
}
Expand description
Errors that can occur when evaluating a piece of WLambda code.
Usually created by methods of EvalContext
.
Variants
IOError(String, Error)
Errors regarding file I/O when parsing files
ParseError(String)
Syntax errors
CompileError(CompileError)
Grammar/Compilation time errors
ExecError(StackAction)
Special kinds of runtime errors
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for EvalError
impl !Send for EvalError
impl !Sync for EvalError
impl Unpin for EvalError
impl !UnwindSafe for EvalError
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