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)

Tuple Fields

0: usize
1: usize

(program version, virtual machine version)

Message(String)

Tuple Fields

0: String

FoundCycleInFlowGraph

WrongNumberOfInputs(usizeusize)

Tuple Fields

0: usize
1: usize

(expected, provided)

WrongNumberOfOutputs(usizeusize)

Tuple Fields

0: usize
1: usize

(expected, provided)

CouldNotRunEvent(String)

Tuple Fields

0: String

CouldNotCallFunction(Reference)

Tuple Fields

CouldNotCallMethod(ReferenceReference)

Tuple Fields

EventDoesNotExists(Reference)

Tuple Fields

NodeDoesNotExists(Reference)

Tuple Fields

TypeDoesNotExists(Reference)

Tuple Fields

TraitDoesNotExists(Reference)

Tuple Fields

MethodDoesNotExists(Reference)

Tuple Fields

FunctionDoesNotExists(Reference)

Tuple Fields

TypeDoesNotImplementMethod(ReferenceReference)

Tuple Fields

(type guid, method guid)

InstanceDoesNotExists

GlobalVariableDoesNotExists(Reference)

Tuple Fields

LocalVariableDoesNotExists(Reference)

Tuple Fields

InputDoesNotExists(usize)

Tuple Fields

0: usize

OutputDoesNotExists(usize)

Tuple Fields

0: usize

StackUnderflow

OperationDoesNotExists(Reference)

Tuple Fields

OperationIsNotRegistered(String)

Tuple Fields

0: String

IndexOutOfBounds(usizeusizeReference)

Tuple Fields

0: usize
1: usize

(expected, provided, list)

ObjectKeyDoesNotExists(StringReference)

Tuple Fields

0: String

ValueIsNotAList(Reference)

Tuple Fields

ValueIsNotAnObject(Reference)

Tuple Fields

ValueIsNotABool(Reference)

Tuple Fields

TryingToPerformInvalidNodeType(NodeType)

Tuple Fields

TryingToWriteBorrowedReference(ReferenceReference)

Tuple Fields

(source value, destination value)

TryingToReadBorrowedReference(Reference)

Tuple Fields

NodeNotFoundInExecutionPipeline(Reference)

Tuple Fields

NodeIsNotALoop(Reference)

Tuple Fields

NodeIsNotAnIfElse(Reference)

Tuple Fields

TryingToBreakIfElse

TryingToContinueIfElse

ThereAreNoCachedNodeOutputs(Reference)

Tuple Fields

ThereIsNoCachedNodeIndexedOutput(Link)

Tuple Fields

0: Link

FoundMultipleEntryNodes(Vec<Reference>)

Tuple Fields

EntryNodeNotFound

FoundNodeWithInvalidIdentifier

NodeCannotFlowIn(Reference)

Tuple Fields

NodeCannotFlowOut(Reference)

Tuple Fields

NodeCannotTakeInput(Reference)

Tuple Fields

NodeCannotGiveOutput(Reference)

Tuple Fields

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.