pub enum FunctionError {
ArgumentError(String),
TypeError(String),
RuntimeError(String),
}Expand description
Function errors
Variants§
Trait Implementations§
Source§impl Debug for FunctionError
impl Debug for FunctionError
Source§impl Display for FunctionError
impl Display for FunctionError
Source§impl Error for FunctionError
impl Error for FunctionError
1.30.0 · 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()
Source§impl From<FunctionError> for EvaluatorError
impl From<FunctionError> for EvaluatorError
Source§fn from(e: FunctionError) -> Self
fn from(e: FunctionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FunctionError
impl RefUnwindSafe for FunctionError
impl Send for FunctionError
impl Sync for FunctionError
impl Unpin for FunctionError
impl UnsafeUnpin for FunctionError
impl UnwindSafe for FunctionError
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