Enum gluon_vm::Error []

pub enum Error {
    Yield,
    Dead,
    UndefinedBinding(String),
    UndefinedField(ArcType, String),
    TypeAlreadyExists(String),
    GlobalAlreadyExists(Symbol),
    MetadataDoesNotExist(String),
    WrongType(ArcType, ArcType),
    OutOfMemory {
        limit: usize,
        needed: usize,
    },
    StackOverflow(VmIndex),
    Message(String),
    Panic(String),
}

Representation of all possible errors that can occur when interacting with the vm crate

Variants

Fields

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl PartialEq for Error
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for Error

Formats the value using the given formatter.

impl Error for Error

A short description of the error. Read more

The lower-level cause of this error, if any. Read more