Sets the current fiber to be aborted, and uses the value in given slot number as the runtime error object.

AbortFiber(
slot
as Integer)
Parameters
- slot
- Slot number to put the error message in.
Remarks
Make sure you have slot to put the error message in first:
vm.EnsureSlots(1)
vm.SlotString(0) = “Some error was encountered.”
vm.AbortFiber(0)
return
See Also
VM Class