Enum oxygengine_script_flow::vm::VmError[][src]

pub enum VmError {
Show variants ProgramCompiledForDifferentVersion(usizeusize), Message(String), FoundCycleInFlowGraph, WrongNumberOfInputs(usizeusize), WrongNumberOfOutputs(usizeusize), CouldNotRunEvent(String), CouldNotCallFunction(Reference), CouldNotCallMethod(ReferenceReference), EventDoesNotExists(Reference), NodeDoesNotExists(Reference), TypeDoesNotExists(Reference), TraitDoesNotExists(Reference), MethodDoesNotExists(Reference), FunctionDoesNotExists(Reference), TypeDoesNotImplementMethod(ReferenceReference), InstanceDoesNotExists, GlobalVariableDoesNotExists(Reference), LocalVariableDoesNotExists(Reference), InputDoesNotExists(usize), OutputDoesNotExists(usize), StackUnderflow, OperationDoesNotExists(Reference), OperationIsNotRegistered(String), IndexOutOfBounds(usizeusizeReference), ObjectKeyDoesNotExists(StringReference), ValueIsNotAList(Reference), ValueIsNotAnObject(Reference), ValueIsNotABool(Reference), TryingToPerformInvalidNodeType(NodeType), TryingToWriteBorrowedReference(ReferenceReference), 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(usizeusize)

(program version, virtual machine version)

Message(String)
FoundCycleInFlowGraph
WrongNumberOfInputs(usizeusize)

(expected, provided)

WrongNumberOfOutputs(usizeusize)

(expected, provided)

CouldNotRunEvent(String)
CouldNotCallFunction(Reference)
CouldNotCallMethod(ReferenceReference)
EventDoesNotExists(Reference)
NodeDoesNotExists(Reference)
TypeDoesNotExists(Reference)
TraitDoesNotExists(Reference)
MethodDoesNotExists(Reference)
FunctionDoesNotExists(Reference)
TypeDoesNotImplementMethod(ReferenceReference)

(type guid, method guid)

InstanceDoesNotExists
GlobalVariableDoesNotExists(Reference)
LocalVariableDoesNotExists(Reference)
InputDoesNotExists(usize)
OutputDoesNotExists(usize)
StackUnderflow
OperationDoesNotExists(Reference)
OperationIsNotRegistered(String)
IndexOutOfBounds(usizeusizeReference)

(expected, provided, list)

ObjectKeyDoesNotExists(StringReference)
ValueIsNotAList(Reference)
ValueIsNotAnObject(Reference)
ValueIsNotABool(Reference)
TryingToPerformInvalidNodeType(NodeType)
TryingToWriteBorrowedReference(ReferenceReference)

(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

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.