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

pub enum VmError {
Show 45 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)

Tuple Fields of ProgramCompiledForDifferentVersion

0: usize1: usize
Message(String)

Tuple Fields of Message

0: String
FoundCycleInFlowGraph
WrongNumberOfInputs(usizeusize)

(expected, provided)

Tuple Fields of WrongNumberOfInputs

0: usize1: usize
WrongNumberOfOutputs(usizeusize)

(expected, provided)

Tuple Fields of WrongNumberOfOutputs

0: usize1: usize
CouldNotRunEvent(String)

Tuple Fields of CouldNotRunEvent

0: String
CouldNotCallFunction(Reference)

Tuple Fields of CouldNotCallFunction

0: Reference
CouldNotCallMethod(ReferenceReference)

Tuple Fields of CouldNotCallMethod

0: Reference1: Reference
EventDoesNotExists(Reference)

Tuple Fields of EventDoesNotExists

0: Reference
NodeDoesNotExists(Reference)

Tuple Fields of NodeDoesNotExists

0: Reference
TypeDoesNotExists(Reference)

Tuple Fields of TypeDoesNotExists

0: Reference
TraitDoesNotExists(Reference)

Tuple Fields of TraitDoesNotExists

0: Reference
MethodDoesNotExists(Reference)

Tuple Fields of MethodDoesNotExists

0: Reference
FunctionDoesNotExists(Reference)

Tuple Fields of FunctionDoesNotExists

0: Reference
TypeDoesNotImplementMethod(ReferenceReference)

(type guid, method guid)

Tuple Fields of TypeDoesNotImplementMethod

0: Reference1: Reference
InstanceDoesNotExists
GlobalVariableDoesNotExists(Reference)

Tuple Fields of GlobalVariableDoesNotExists

0: Reference
LocalVariableDoesNotExists(Reference)

Tuple Fields of LocalVariableDoesNotExists

0: Reference
InputDoesNotExists(usize)

Tuple Fields of InputDoesNotExists

0: usize
OutputDoesNotExists(usize)

Tuple Fields of OutputDoesNotExists

0: usize
StackUnderflow
OperationDoesNotExists(Reference)

Tuple Fields of OperationDoesNotExists

0: Reference
OperationIsNotRegistered(String)

Tuple Fields of OperationIsNotRegistered

0: String
IndexOutOfBounds(usizeusizeReference)

(expected, provided, list)

Tuple Fields of IndexOutOfBounds

0: usize1: usize2: Reference
ObjectKeyDoesNotExists(StringReference)

Tuple Fields of ObjectKeyDoesNotExists

0: String1: Reference
ValueIsNotAList(Reference)

Tuple Fields of ValueIsNotAList

0: Reference
ValueIsNotAnObject(Reference)

Tuple Fields of ValueIsNotAnObject

0: Reference
ValueIsNotABool(Reference)

Tuple Fields of ValueIsNotABool

0: Reference
TryingToPerformInvalidNodeType(NodeType)

Tuple Fields of TryingToPerformInvalidNodeType

0: NodeType
TryingToWriteBorrowedReference(ReferenceReference)

(source value, destination value)

Tuple Fields of TryingToWriteBorrowedReference

0: Reference1: Reference
TryingToReadBorrowedReference(Reference)

Tuple Fields of TryingToReadBorrowedReference

0: Reference
NodeNotFoundInExecutionPipeline(Reference)

Tuple Fields of NodeNotFoundInExecutionPipeline

0: Reference
NodeIsNotALoop(Reference)

Tuple Fields of NodeIsNotALoop

0: Reference
NodeIsNotAnIfElse(Reference)

Tuple Fields of NodeIsNotAnIfElse

0: Reference
TryingToBreakIfElse
TryingToContinueIfElse
ThereAreNoCachedNodeOutputs(Reference)

Tuple Fields of ThereAreNoCachedNodeOutputs

0: Reference
ThereIsNoCachedNodeIndexedOutput(Link)

Tuple Fields of ThereIsNoCachedNodeIndexedOutput

0: Link
FoundMultipleEntryNodes(Vec<Reference>)

Tuple Fields of FoundMultipleEntryNodes

0: Vec<Reference>
EntryNodeNotFound
FoundNodeWithInvalidIdentifier
NodeCannotFlowIn(Reference)

Tuple Fields of NodeCannotFlowIn

0: Reference
NodeCannotFlowOut(Reference)

Tuple Fields of NodeCannotFlowOut

0: Reference
NodeCannotTakeInput(Reference)

Tuple Fields of NodeCannotTakeInput

0: Reference
NodeCannotGiveOutput(Reference)

Tuple Fields of NodeCannotGiveOutput

0: 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.