UNPKG
test262-stream
Version:
latest (1.4.0)
1.4.0
1.3.0
1.2.2
1.2.1
1.2.0
1.1.0
1.0.0
A Node.js API for traversing the Test262 test suite
test262-stream
/
test
/
collateral
/
invalid-version-unsupported
/
fake-test262
/
harness
/
sta.js
13 lines
(10 loc)
•
248 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
function
Test262Error
(
message
) {
this
.
message
= message ||
""
; }
Test262Error
.
prototype
.
toString
=
function
(
) {
return
"Test262Error: "
+
this
.
message
; };
var
$ERROR; $ERROR =
function
$ERROR
(
message
) {
throw
new
Test262Error
(message); };