pub enum VmError {
Show 45 variants
ProgramCompiledForDifferentVersion(usize, usize),
Message(String),
FoundCycleInFlowGraph,
WrongNumberOfInputs(usize, usize),
WrongNumberOfOutputs(usize, usize),
CouldNotRunEvent(String),
CouldNotCallFunction(Reference),
CouldNotCallMethod(Reference, Reference),
EventDoesNotExists(Reference),
NodeDoesNotExists(Reference),
TypeDoesNotExists(Reference),
TraitDoesNotExists(Reference),
MethodDoesNotExists(Reference),
FunctionDoesNotExists(Reference),
TypeDoesNotImplementMethod(Reference, Reference),
InstanceDoesNotExists,
GlobalVariableDoesNotExists(Reference),
LocalVariableDoesNotExists(Reference),
InputDoesNotExists(usize),
OutputDoesNotExists(usize),
StackUnderflow,
OperationDoesNotExists(Reference),
OperationIsNotRegistered(String),
IndexOutOfBounds(usize, usize, Reference),
ObjectKeyDoesNotExists(String, Reference),
ValueIsNotAList(Reference),
ValueIsNotAnObject(Reference),
ValueIsNotABool(Reference),
TryingToPerformInvalidNodeType(NodeType),
TryingToWriteBorrowedReference(Reference, Reference),
TryingToReadBorrowedReference(Reference),
NodeNotFoundInExecutionPipeline(Reference),
NodeIsNotALoop(Reference),
NodeIsNotAnIfElse(Reference),
TryingToBreakIfElse,
TryingToContinueIfElse,
ThereAreNoCachedNodeOutputs(Reference),
ThereIsNoCachedNodeIndexedOutput(Link),
FoundMultipleEntryNodes(Vec<Reference>),
EntryNodeNotFound,
FoundNodeWithInvalidIdentifier,
NodeCannotFlowIn(Reference),
NodeCannotFlowOut(Reference),
NodeCannotTakeInput(Reference),
NodeCannotGiveOutput(Reference),
}
Variants§
ProgramCompiledForDifferentVersion(usize, usize)
(program version, virtual machine version)
Message(String)
FoundCycleInFlowGraph
WrongNumberOfInputs(usize, usize)
(expected, provided)
WrongNumberOfOutputs(usize, usize)
(expected, provided)
CouldNotRunEvent(String)
CouldNotCallFunction(Reference)
CouldNotCallMethod(Reference, Reference)
EventDoesNotExists(Reference)
NodeDoesNotExists(Reference)
TypeDoesNotExists(Reference)
TraitDoesNotExists(Reference)
MethodDoesNotExists(Reference)
FunctionDoesNotExists(Reference)
TypeDoesNotImplementMethod(Reference, Reference)
(type guid, method guid)
InstanceDoesNotExists
GlobalVariableDoesNotExists(Reference)
LocalVariableDoesNotExists(Reference)
InputDoesNotExists(usize)
OutputDoesNotExists(usize)
StackUnderflow
OperationDoesNotExists(Reference)
OperationIsNotRegistered(String)
IndexOutOfBounds(usize, usize, Reference)
(expected, provided, list)
ObjectKeyDoesNotExists(String, Reference)
ValueIsNotAList(Reference)
ValueIsNotAnObject(Reference)
ValueIsNotABool(Reference)
TryingToPerformInvalidNodeType(NodeType)
TryingToWriteBorrowedReference(Reference, Reference)
(source value, destination value)
TryingToReadBorrowedReference(Reference)
NodeNotFoundInExecutionPipeline(Reference)
NodeIsNotALoop(Reference)
NodeIsNotAnIfElse(Reference)
TryingToBreakIfElse
TryingToContinueIfElse
ThereAreNoCachedNodeOutputs(Reference)
ThereIsNoCachedNodeIndexedOutput(Link)
FoundMultipleEntryNodes(Vec<Reference>)
EntryNodeNotFound
FoundNodeWithInvalidIdentifier
NodeCannotFlowIn(Reference)
NodeCannotFlowOut(Reference)
NodeCannotTakeInput(Reference)
NodeCannotGiveOutput(Reference)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VmError
impl RefUnwindSafe for VmError
impl Send for VmError
impl Sync for VmError
impl Unpin for VmError
impl UnwindSafe for VmError
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