internal RuntimeErrorNode RuntimeError(RuntimeErrorNode err) { if (!err.IsFatal || runtimeError == null) { RuntimeErrrorOccurred?.Invoke(err); } if (err.IsFatal && runtimeError == null) { runtimeError = err; } return(err); }
internal RuntimeErrorNode RuntimeError(ERuntimeErrors errNo = ERuntimeErrors.Unspecified, params object[] args) { var err = new RuntimeErrorNode(CurrentLine, errNo, args); return(RuntimeError(err)); }