Enum oftlisp_anf::RuntimeError
[−]
[src]
pub enum RuntimeError { ArgsBindingError(ArgsBindingError<Context>), Exit(u8), Io(IoError), InvalidVTable(Gc<Value<Context>>), NonexistentVar(Symbol), NotAFunction(Gc<Value<Context>>), ObjectDataOutOfBounds(isize, Gc<Value<Context>>), ObjectNoSuchFunc(Symbol, Gc<Value<Context>>), Panic(Vec<Gc<Value<Context>>>), }
A runtime error.
Variants
ArgsBindingError(ArgsBindingError<Context>)
An error binding arguments.
Exit(u8)
Exits with the given exit code.
Io(IoError)
An I/O error.
InvalidVTable(Gc<Value<Context>>)
An attempt was made to access a non-existent data member on an object.
NonexistentVar(Symbol)
A variable was used that was not defined.
NotAFunction(Gc<Value<Context>>)
A value that was not a function was called.
ObjectDataOutOfBounds(isize, Gc<Value<Context>>)
An attempt was made to access a non-existent data member on an object.
ObjectNoSuchFunc(Symbol, Gc<Value<Context>>)
An attempt was made to access a non-existent function on an object.
Panic(Vec<Gc<Value<Context>>>)
A runtime panic.
Trait Implementations
impl Debug for RuntimeError
[src]
impl From<ArgsBindingError<Context>> for RuntimeError
[src]
fn from(err: ArgsBindingError<Context>) -> RuntimeError
[src]
Performs the conversion.
impl From<IoError> for RuntimeError
[src]
fn from(err: IoError) -> RuntimeError
[src]
Performs the conversion.