1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-17 02:35:45 +01:00

Fix reported file/line in failed assertions.

This commit is contained in:
Kris Maglione
2010-12-25 06:53:51 -05:00
parent b24781c685
commit 273796d321
3 changed files with 24 additions and 13 deletions

View File

@@ -8,11 +8,7 @@
/** @scope modules */
let ValueError = Class("ValueError", Error, {
init: function (message) {
update(this, Error(message));
}
});
let ValueError = Class("ValueError", ErrorBase);
// do NOT create instances of this class yourself, use the helper method
// options.add() instead