Commits

Ludvig Ericson committed c585b62

Differentiate error for applying and constructing

  • Participants
  • Parent commits 7948642

Comments (0)

Files changed (1)

File spidermonkey/pyobject.c

     
     if(!PyCallable_Check(pyobj))
     {
-        JS_ReportError(jscx, "Object is not callable.");
+        JS_ReportError(jscx, "Object not callable, unable to apply");
         goto error;
     }
 
     
     if(!PyCallable_Check(pyobj))
     {
-        JS_ReportError(jscx, "Object is not callable.");
+        JS_ReportError(jscx, "Object not callable, unable to construct");
         goto error;
     }