Struct netsblox_vm::process::ExecError
source · pub struct ExecError<C: CustomTypes<S>, S: System<C>> {
pub cause: ErrorCause<C, S>,
pub pos: usize,
}Expand description
An execution error from a Process (see Process::step).
This consists of an ErrorCause value describing the cause, as well as the bytecode location of the error.
By using the Locations information from ByteCode::compile, it is possible to determine
a human-readable error location in the original program.
Fields§
§cause: ErrorCause<C, S>§pos: usizeTrait Implementations§
Auto Trait Implementations§
impl<C, S> RefUnwindSafe for ExecError<C, S>where <<C as CustomTypes<S>>::NativeValue as GetType>::Output: RefUnwindSafe,
impl<C, S> Send for ExecError<C, S>where <<C as CustomTypes<S>>::NativeValue as GetType>::Output: Send,
impl<C, S> Sync for ExecError<C, S>where <<C as CustomTypes<S>>::NativeValue as GetType>::Output: Sync,
impl<C, S> Unpin for ExecError<C, S>where <<C as CustomTypes<S>>::NativeValue as GetType>::Output: Unpin,
impl<C, S> UnwindSafe for ExecError<C, S>where <<C as CustomTypes<S>>::NativeValue as GetType>::Output: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more