UNPKG

test262-stream

Version:

A Node.js API for traversing the Test262 test suite

13 lines (10 loc) 248 B
function Test262Error(message) { this.message = message || ""; } Test262Error.prototype.toString = function () { return "Test262Error: " + this.message; }; var $ERROR; $ERROR = function $ERROR(message) { throw new Test262Error(message); };