pub enum ExceptionValue {
Other(Expression),
UndefinedSymbol(Symbol),
ArgumentMismatch(usize, String),
InvalidArgument,
Syntax,
InvalidIncludePath(String),
InvalidOperator(Value),
StackOverflow,
Assignment(Symbol, Expression),
Concurrency,
}
Variants§
Other(Expression)
UndefinedSymbol(Symbol)
ArgumentMismatch(usize, String)
InvalidArgument
Syntax
InvalidIncludePath(String)
InvalidOperator(Value)
StackOverflow
Assignment(Symbol, Expression)
Concurrency
Implementations§
Source§impl ExceptionValue
impl ExceptionValue
pub fn explain(&self) -> String
pub fn into_expression(self) -> Expression
Trait Implementations§
Source§impl Clone for ExceptionValue
impl Clone for ExceptionValue
Source§fn clone(&self) -> ExceptionValue
fn clone(&self) -> ExceptionValue
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ExceptionValue
impl Debug for ExceptionValue
Auto Trait Implementations§
impl Freeze for ExceptionValue
impl RefUnwindSafe for ExceptionValue
impl Send for ExceptionValue
impl Sync for ExceptionValue
impl Unpin for ExceptionValue
impl UnwindSafe for ExceptionValue
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