Enum bpxe::language::EvaluationError[][src]

pub enum EvaluationError {
    UnsupportedLanguage {
        language: Option<String>,
    },
    EvaluationError {
        error: Box<dyn Error + Send>,
    },
    ResultTypeError {
        expected: String,
        got: String,
    },
    Empty,
    ExecutionError(ExecutionError),
}

Evaluation error

Variants

UnsupportedLanguage

Given language is not supported

Fields of UnsupportedLanguage

language: Option<String>
EvaluationError

Error during evaluation

Fields of EvaluationError

error: Box<dyn Error + Send>
ResultTypeError

Result type mismatch

Fields of ResultTypeError

expected: Stringgot: String
Empty

Empty expression or script

ExecutionError(ExecutionError)

Trait Implementations

impl Debug for EvaluationError[src]

impl Display for EvaluationError[src]

impl Error for EvaluationError[src]

impl From<Box<EvalAltResult, Global>> for EvaluationError[src]

impl From<Box<dyn Error + 'static + Send, Global>> for EvaluationError[src]

impl From<JoinError> for EvaluationError[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> Downcast for T where
    T: Any
[src]

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[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.