blob: 10a6bb3fabefc0a5c8503248c211f8ae3d45fe4c [file] [log] [blame]
/// Copyright (c) 2012 Ecma International. All rights reserved.
/// This code is governed by the BSD license found in the LICENSE file.
function Test262Error(message) {
this.message = message || "";
}
Test262Error.prototype.toString = function () {
return "Test262Error: " + this.message;
};
var $ERROR;
$ERROR = function $ERROR(message) {
throw new Test262Error(message);
};
function testFailed(message) {
$ERROR(message);
}