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 Freeze for EvalError
impl !RefUnwindSafe for EvalError
impl !Send for EvalError
impl !Sync for EvalError
impl Unpin for EvalError
impl !UnwindSafe for EvalError
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