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
Yield
Dead
UndefinedBinding(String)
UndefinedField(ArcType, String)
TypeAlreadyExists(String)
GlobalAlreadyExists(Symbol)
MetadataDoesNotExist(String)
WrongType(ArcType, ArcType)
OutOfMemory
Fields
limit: usize | |
needed: usize |
StackOverflow(VmIndex)
Message(String)
Panic(String)
Trait Implementations
impl Debug for Error
[src]
impl PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Error) -> bool
This method tests for !=
.