[][src]Enum polar_core::error::RuntimeError

pub enum RuntimeError {
    ArithmeticError {
        msg: String,
    },
    Serialization {
        msg: String,
    },
    Unsupported {
        msg: String,
    },
    TypeError {
        msg: String,
        stack_trace: Option<String>,
    },
    UnboundVariable {
        sym: Symbol,
    },
    StackOverflow {
        msg: String,
    },
    QueryTimeout {
        msg: String,
    },
    Application {
        msg: String,
        stack_trace: Option<String>,
    },
    FileLoading {
        msg: String,
    },
}

Variants

ArithmeticError

Fields of ArithmeticError

msg: String
Serialization

Fields of Serialization

msg: String
Unsupported

Fields of Unsupported

msg: String
TypeError

Fields of TypeError

msg: Stringstack_trace: Option<String>
UnboundVariable

Fields of UnboundVariable

sym: Symbol
StackOverflow

Fields of StackOverflow

msg: String
QueryTimeout

Fields of QueryTimeout

msg: String
Application

Fields of Application

msg: Stringstack_trace: Option<String>
FileLoading

Fields of FileLoading

msg: String

Implementations

impl RuntimeError[src]

pub fn add_stack_trace(&mut self, vm: &PolarVirtualMachine)[src]

Trait Implementations

impl Clone for RuntimeError[src]

impl Debug for RuntimeError[src]

impl<'de> Deserialize<'de> for RuntimeError[src]

impl Display for RuntimeError[src]

impl From<RuntimeError> for PolarError[src]

impl Serialize for RuntimeError[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.