[][src]Enum endbasic_core::eval::FunctionError

pub enum FunctionError {
    ArgumentError(String),
    EvalError(Error),
    InternalError(String),
    SyntaxError,
}

Function execution errors.

These are separate from the more generic Error type because they are not annotated with the specific function that triggered the error. We add such annotation once we capture the error within the evaluation logic.

Variants

ArgumentError(String)

A specific parameter had an invalid value.

EvalError(Error)

Error while evaluating input arguments.

InternalError(String)

Any other error not representable by other values.

SyntaxError

General mismatch of parameters given to the function with expectations (different numbers, invalid types).

Trait Implementations

impl Debug for FunctionError[src]

impl From<Error> for FunctionError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.