pub enum CalcErrorType {
ParserError,
UndefinedIdentifier,
AssignmentError,
ArgumentError,
CalculationError,
}
Expand description
Error types
Variants§
ParserError
Error generated during parsing of the input
UndefinedIdentifier
Error generated when encountering an unknown variable or function
AssignmentError
Error generated when assigning a value to a variable fails
ArgumentError
Error generated from passing invalid arguments into a function
CalculationError
Error generated during calculation
Trait Implementations§
Source§impl Clone for CalcErrorType
impl Clone for CalcErrorType
Source§fn clone(&self) -> CalcErrorType
fn clone(&self) -> CalcErrorType
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 CalcErrorType
impl Debug for CalcErrorType
Source§impl Display for CalcErrorType
impl Display for CalcErrorType
Source§impl PartialEq for CalcErrorType
impl PartialEq for CalcErrorType
impl Copy for CalcErrorType
impl StructuralPartialEq for CalcErrorType
Auto Trait Implementations§
impl Freeze for CalcErrorType
impl RefUnwindSafe for CalcErrorType
impl Send for CalcErrorType
impl Sync for CalcErrorType
impl Unpin for CalcErrorType
impl UnwindSafe for CalcErrorType
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