Enum oxygengine_script_flow::vm::VmError [−][src]
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
(program version, virtual machine version)
Message(String)
Tuple Fields of Message
0: String
(expected, provided)
(expected, provided)
CouldNotRunEvent(String)
Tuple Fields of CouldNotRunEvent
0: String
CouldNotCallFunction(Reference)
Tuple Fields of CouldNotCallFunction
0: 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
(type guid, method guid)
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
OperationDoesNotExists(Reference)
Tuple Fields of OperationDoesNotExists
0: Reference
OperationIsNotRegistered(String)
Tuple Fields of OperationIsNotRegistered
0: String
(expected, provided, list)
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
(source value, destination value)
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
ThereAreNoCachedNodeOutputs(Reference)
Tuple Fields of ThereAreNoCachedNodeOutputs
0: Reference
ThereIsNoCachedNodeIndexedOutput(Link)
Tuple Fields of ThereIsNoCachedNodeIndexedOutput
0: Link
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