Change in Function exception

May 9, 2012 at 10:46 AM

In two places you throw the error:

throw new JsException(Global.ErrorClass.New("Function expected."));

This is not very helpful when trying to debug the code. So I changed one of the places to the following:

throw new JsException(Global.ErrorClass.New("[Function expected => " + lastIdentifier + "]"));

Is this correct, or do you suggest a different change?