Enum gluon_vm::Error[]

pub enum Error {
    Dead,
    UndefinedBinding(String),
    UndefinedField(ArcTypeString),
    TypeAlreadyExists(String),
    GlobalAlreadyExists(Symbol),
    MetadataDoesNotExist(String),
    WrongType(ArcTypeArcType),
    OutOfMemory {
        limit: usize,
        needed: usize,
    },
    StackOverflow(VmIndex),
    Message(String),
    Interrupted,
    Panic(StringOption<Stacktrace>),
}

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

Variants

Fields of OutOfMemory

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

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. Read more

impl Error for Error

This method is soft-deprecated. Read more

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

impl From<String> for Error

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error