mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-22 00:25:40 +02:00
Fix reported file/line in failed assertions.
This commit is contained in:
1 parent
b24781c685
commit
273796d321
3 files changed
+24
-13
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user