ScriptHandle

A script handle returns the script source, and can say if the script is invalid.

A script handle returns the script source, and can say if the script is invalid.

class Object
trait Matchable
class Any

Value members

Abstract methods

def isInvalid: Boolean
Returns

true if the script is invalid and should be re-evaluated, false otherwise.

def report(e: Throwable): Unit

If evaluating or parsing the script throws an exception, this method is called.

If evaluating or parsing the script throws an exception, this method is called.

def script: String
Returns

the code of the script.