[Kst] branches/work/kst/1.6/kst/src/extensions/js
Andrew Walker
arwalker at sumusltd.com
Wed Nov 14 20:14:12 CET 2007
SVN commit 736758 by arwalker:
start adding more useful error messages
M +1 -1 bind_histogram.cpp
--- branches/work/kst/1.6/kst/src/extensions/js/bind_histogram.cpp #736757:736758
@@ -299,7 +299,7 @@
d->setDirty();
break;
default:
- KJS::Object eobj = KJS::Error::create(exec, KJS::TypeError);
+ KJS::Object eobj = KJS::Error::create(exec, KJS::SyntaxError, "Value is out of range.");
exec->setException(eobj);
return;
}
More information about the Kst
mailing list