Options object used by Vm.run* methods.

Fields

@:optionaloptionaltimeout:Null<Int>

Number of milliseconds to execute code before terminating execution. If execution is terminated, an Error will be thrown.

@:optionaloptionalfilename:Null<String>

The filename that shows up in any stack traces produced.

@:optionaloptionaldisplayErrors:Null<Bool>

Whether or not to print any errors to stderr, with the line of code that caused them highlighted, before throwing an exception.

Will capture both syntax errors from compiling code and runtime errors thrown by executing the compiled code.

Defaults to true.