Enum endbasic_core::syms::CallError[][src]

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

Command or function execution errors.

These are separate from the more generic Error type because they are not annotated with the specific callable 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.

IoError(Error)

I/O error during execution.

SyntaxError

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

Trait Implementations

impl Debug for CallError[src]

impl From<Error> for CallError[src]

impl From<Error> for CallError[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.